Learn CSS Variables by Building a City Skyline - Step 78

please i need help, been stucked for hours:

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0

Challenge: Learn CSS Variables by Building a City Skyline - Step 78

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!


I am seeing the error message

You should not alter the first repeating-linear-gradient

You should not change the original repeating-linear-gradient. You need to add a second repeating-linear-gradient after the original one.

i did not alter the first, added the second but still getting same error message

Ok, in this code you shared the first one is completely gone. Can you show your code with both repeating-linear-gradients?

Thanks,done that before but still no difference.

Can you show your code?!?!

1 Like

Same here. did you solve this out?

Segue o codigo

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