Learn CSS Variables by Building a City Skyline - Step 51

here’s my code

.bb2b {
width: 100%;
height: 100%;
background: linear-gradient(
var(–building-color2)6%,
var(–window-color2)9%,
);
}

Hint: You should use --building-color2 from 0% to 6%.

can someone help out is my percentage not right, how i do add with range

Hi @Michaelnk

It should start at 0%, then 6% then 6% again then 9%. So in total, there should be four (4) arguments inside the linear-gradient() function.

Can you enclose your code in triple backticks? Like so

```css

paste code here

```

Hope that helps

thanks ! brother i got it

Anytime man, happy coding!

1 Like