Building a city skyline Level 78 problem

The problem is in the CSS code:
It says:

Step 78

You can add multiple gradients to an element by separating them with a comma (,) like this:

gradient1(
  colors
),
gradient2(
  colors
);

Add a repeating-linear-gradient to .fb1c below the one that’s there; use your --building-color4 from 0% to 10% and --window-color4 from 10% and 90%. This will fill in behind the gradient you added last.

---------- My .fb1c in the code as far was
.fb1c {

width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg,
var(–building-color4),
var(–building-color4) 10%,
transparent 10%,
transparent 15%
)
}
(as it comes from the RESET)

When I add the :
background: repeating-linear-gradient(
var(–building-color4) 0 10%,
var(–window-color4) 10 90%
);

under the previous code

the system answers like this:

Sorry, your code does not pass. Keep trying.

You should not alter the first repeating-linear-gradient.

I didn’t touch it !

has anyone the same issue?

Hi there! Well, there are several issues:

  1. No need for background property again, you’re still adding new values to it;
  2. One hyphen instead of two before the variable name;
  3. No percent symbols after 0 and 10

So fix it and your code will pass

1 Like

It doesn’t let me continue or alter the code where the background is. If I do it says you shouldnot alter…

I made this change…

.fb1c {
  width: 100%;
  height: 80%;
  background: repeating-linear-gradient(
      90deg,
      var(--building-color4),
      var(--building-color4) 10%,
      transparent 10%,
      transparent 15%
    ),
    (var(--building-color4) 0%, var(--building-color4) 10%, var(--window-color4) 10%, var(--window-color4) 90%);
}   

Now it says, You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10% .

Thank you Ray13 I checked all the possible ways of mistaking

1 Like

You’re welcome. Also check how to share your code properly:
Forum code formatting
Your posts are hard to read because of wrong formatting.
And please don’t write a solution here, it’s not allowed on the forum
Thanks

1 Like

Ok I won’t from now on. Thank you for the hints and tips.
Shall I remove my posts or the admin does so?

1 Like

You can edit it to remove the solution part, it would be fine, I suppose

I did, ty and I used the

> ```

and
> ```
1 Like