Learn CSS Variables by Building a City Skyline - Step 77


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(
    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:

try taking out your last comer, it can create an expectation of another value

you may also need a comer after 90deg

Thank you! I put in the first comma which I didn’t spot at first and it worked :slight_smile:

1 Like

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