Learn CSS Variables by Building a City Skyline - Step 40 PLZ i need help

I have and it still says the same thing

post your new code please?

.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);

yes better
you are missing the var function though.

The browser doesn’t know what --window-color1 or --building-color1 means.
So you must enclose them in a var function.

To see how to do that, look at the line of code above yours (the background-color: var(--building-color1)

Each reference to a variable requires the var function (so you need 2 )

Thank you very very much for your patience and work. It has finally worked

1 Like