Learn CSS Variables by Building a City Skyline - Step 108

The question asks " Add another repeating gradient to this building; make it the same as the one you just added, except don’t add the 90deg direction and use your window color instead of the two transparent colors."

I keep getting the same hint, which is You should give .fb6 a second repeating-linear-gradient in the background property.

Now, i’ve looked over my code about 100 times and can’t figure out what’s causing it not to pass. please help me and tell me what i’m doing wrong? i feel like i’m going crazy with this one

background: repeating-linear-gradient(
var(--building-color3) 10%,
transparent 10%,
transparent 30%
var(--building-color3) 10%,
var(--window-color3) 10%,
var(window-color3) 30%

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

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

Link to the challenge:

I’m guessing those missing double dashes might have something to do with it?

That worked, can’t believe i didnt notice that. thank you!

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