Learn CSS Variables by Building a City Skyline - Step 77

Add a repeating-linear-gradient to .fb1c with a 90deg angle, your --building-color4 from 0% to 10% and transparent from 10% to 15% .

Here’s my code below:

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

I’ve already indicate the right syntax but still not working. Please, help.

Hello!
Please use the Help ? that appears after 3 unsuccessful attempts at a lesson?
This way you are able to submit the complete current code for us to see if the system is showing any issues, or it may be something on your end. Sometimes, extensions, or even browsers can be a bit sticky on submission.

Happy coding! :slight_smile:

1 Like

i just passed this current step. Thanks! :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.