STEP 46 LEARN CSS variables by building a City Skyline

i don’t understand, where is my mistake,

.bb1d {
  height: 70%;
  background-image: linear-gradient(
      orange ,
      var(--building-color1) 80%,

Hello, mogo1234,

You need to have two hyphens ( -- ) instead of one ( - ) before building-color1 and window-color.

For example, replace
var(--building-color1) 80%

Hope this helps :slight_smile:

can you give the link to the step?

Welcome to the forum @mogo1234

Please remove -image from your code.
You appear to have changed the property.

Happy coding

thank you everyone, I managed to pass!

1 Like