Learn CSS Variables by Building a City Skyline - Step 60

Hello.
I need help with this exercise. When I do it, as I think it is correct, I keep getting an error.
I am leaving my “correct” answer to see if anyone can help me find out what I am doing wrong. Thank you.

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

To pull a variable from your CSS, you need to use double dashes, not single dashes.

1 Like

Welcome to the forum @totea14 !

Along with the good guidance provided by @odinbn, I would like to mention that the 7.5% should not be included within the code.

It is just providing us with the information on how the system automatically sets the other color stops.

Wishing you good progress.