Learn CSS Variables by building a city skyline Step 52

The test is failing even though I can see the style being correctly applied to the element.
Here is what I’m doing:
.bb2b {
width: 100%;
height: 100%;
background: repeating-linear-gradient(
var(–building-color2) 0%,
var(–building-color2) 6%,
var(–window-color2) 6%,
var(–window-color2) 9%

And this is the response from the IDE


Sorry, your code does not pass. You’re getting there.


You should change the background property of .bb2b from using linear-gradient to using repeating-linear-gradient.

You don’t need the 0%.

1 Like

Thanks a lot both for the correct reply as also such a fast reply. :slight_smile:

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