Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

In the second gradient, I don’t understand where the error is, maybe there is some syntax error I am not seeing? If I check my code like this the hint says *You should use a second color of --window-color4 from 10% to 90% * but I thought I was already doing this?

Your code so far

  width: 100%;
  height: 80%;
  background: repeating-linear-gradient(
      90deg,
      var(--building-color4),
      var(--building-color4) 10%,
      transparent 10%,
      transparent 15%
    ),
    repeating-linear-gradient(
      var(--building-color4),
      var(--building-color4) 10%,
      var(--window-color4) 10%,
      var(--window-color4) 90%
    ),
}

Thanks to anyone who can give their time for this.

Your browser information:

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

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

Link to the challenge:

At the end of the second gradient goes a semi-colon, not a comma.

1 Like

I knew it was something this silly! :joy:

1 Like

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