Learn CSS Variables by Building a City Skyline - Step 44

.bb1d {
width: 100%;
height: 70%;
background-color: var(–building-color1);
background: linear-gradient(
var(orange),
var(–building-color1),
var(–window-color1)
);
}

am here again in need of assistance, this time adding a third color which i just did , i don’t see anything wrong i just followed the previous sequence and syntax

  1. orange is a color keyword, not a variable.

  2. Variables start with --

  3. You have an incorrect dash symbol it should be - not (I’d suggest you copy/paste)

thanks problem solved

1 Like

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