Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

I am not seeing any reason why this code will not work. this is the error message I’m getting. You should give .fb1c a background with a repeating-linear-gradient .

Your code so far

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

Your browser information:

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

Hi @ursulanetherland4
The variables need a little touch up.

Remove the space after var, then there should be two hyphens after the round bracket.

Happy coding