Learn CSS Variables by Building a City Skyline - Step 60

Tell us what’s happening:

Please help, i have gone over and over the instructions, and I think I did well. I do not see what’s wrong. Please help.

Your code so far

.bb3 {
width: 10%;
height: 55%;
background-color: var(–building-color3);
background: repeating-linear-gradient(
90deg,
var(–building-color3),
var(–building-color3) 7.5%,
var(–window-color3) 15%);
}

Welcome to the forum!

Please always link to the task you have a problem with, you’ll get more help this way.

Welcome to the forum @Tenten

In this case, the first two colors will default to 0% and 7.5% because it starts at 0% , and 7.5% is half of the 15% .

You do not need to include the default value for the second colour.

Happy coding

1 Like

It’s only the third color that will a percentage of 15%

(
var(--window-color3) 15%
)

But you are not to add any (percent value) for the first and second colors,
I hope this helps.

1 Like