Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

" Test

Sorry, your code does not pass. Don’t give up.

Hint

You should use a second color of transparent from 10% to 15%."

What am I doing wrong with this section? Anyone to help
Your code so far

.fb1c {
  width: 100%;
  height: 80%; background: repeating-linear-gradient(90deg,
  var(--building-color4) 0%,
   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/114.0.0.0 Safari/537.36

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

Link to the challenge:

Hey!
Move your background property to a new line
Remove the % in your first variable,but retain the coma.
Remove the coma after 15%

Problem still there

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

That closing bracket shouldn’t be their,
Also,close your repeating-linear-gradient

background: repeating-linear-gradient(Some content)
1 Like

Thank you, it worked