Why is my code giving error?

you should remove the background-color property

I tried that and it gave back the same exact message

Hello and welcome!

Just remove the 7.5%, as CSS will default to this value itself.

Please post your actual code instead of a screenshot. Also, please post a link to the Step. Thanks

Oh sure, it was https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-variables-by-building-a-city-skyline/step-60

Thank you very much, I tried that and it worked :slight_smile:

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