Hi,
I am stuck on step 77 of building the city skyline. I have check my code and re-checked. Googled it and still no luck. I’m unsure of what is causing it, I have read the hint that says to use the first color from 0% to 10%, which is what I have done. The spelling seems all correct too… I’m getting really confused so hope that someone is able to help.
Edit: I have tried to include 0% as well, and take out ‘color’ from transparent, but neither helps.
My code so far
.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg
var(--building-color4),
var(--building-color4) 10%,
color transparent 10%,
color transparent 15%,
);
}
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.1 Safari/605.1.15
Challenge: Learn CSS Variables by Building a City Skyline - Step 77
Link to the challenge: