Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

Hi,

Help! I can’t get past this step, I’ve completed all the others up to the end but for some reason it won’t pass the code in this step. I think it is correct, not sure if it’s a glitch? It keeps saying the following-

Sorry, your code does not pass. Hang in there.

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

Your code so far

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

repeating-linear-gradient(
90deg,
var(–building-color4),
var(–building-color4)10%,
var(–window-color4)10%,
var(–window-color4)90%
);
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

Hello!

Try removing the 90deg from the second repeating-linear-gradient.

I do not think it is required for this step.

Happy coding!

That did it! I thought I had tried that yesterday and it didn’t work but maybe I had something else wrong too!
Many thanks!

You are very welcome @kateyjcoates !

Keep up the good progress and happy coding!

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