Learn CSS Variables by Building a City Skyline - Step 77

I keep getting an error message as follows

Sorry, your code does not pass. Don’t give up.

You should use a second color of transparent from 10% to 15%."

Not sure what i’m missing. Here is the relevant section of code. has anyone got any suggestions?

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

please post a link to the challenge

Sorry, here is the link to the challenge:

There seems to be a few errors.

You have a space after the word gradient. There should be no space there.

You have a comma after the last line 15%, but it should not be there.

Finally your dashes seem to be separated by a space? They should not be. ( no spaces)

1 Like

Ah thank you, the last comma was the one getting me. Thanks again for your solution!

1 Like

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