Learn CSS Variables by Building a City Skyline - Step 40

.bb1a { width: 70%; height: 10%; background-color: var(--building-color1); background: gradient-type( --building-color1, --window-color ); }
I have this so far as my code and yet when I run the test it keeps saying I need to add “background” beneath “background-color”. I don’t understand what could be wrong

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

i see the mistake. you need to check how to use variables. thats not how variables are written. remember: var(–variable-name)

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