Learn CSS Variables by Building a City Skyline - Step 104

Tell us what’s happening:
I’m not sure what’s wrong here. The question states

Give it a repeating-linear-gradient with your building color from 0% to 5% , and transparent from 5% to 10% .

Your code so far

background: repeating-linear-gradient(
    var(--building-color2) 0% 5%,
    transparent 5% 10%
  )

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

Link to the challenge:

Hi

Look back at your earlier code.
For example, you applied a similar linear gradient to building fb1c.

Try to use that as a model for this linear gradient.
Especially notice that each line of code in the linear gradient only has one percentage value specified.

1 Like

Thanks for the help, but earlier steps passed when I put two percentage values on the same line. They also have the same visual effect.

1 Like

The answer is :
mod edit: solution redacted

good luck

Thank you , it works :smiley:

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