Learn CSS Variables by Building a City Skyline - Step 40

Tell us what’s happening:

Test

Sorry, your code does not pass. Don’t give up.

Hint

You should apply a background to .bb1a right after the background-color.

Your code so far
.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);
background: linear-gradient(–building-color1, --window-color1);
}

You aren’t quite accessing the custom CSS variables correctly. You are missing something. Look at how you accessed the --building-color1 variable in the background-color property as an example.

Understood. You have to add the var to access the building color