Learn CSS Variables by Building a City Skyline - Step 51

here’s my code

.bb2b {
width: 100%;
height: 100%;
background: linear-gradient(

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


paste code here


Hope that helps

thanks ! brother i got it

Anytime man, happy coding!

1 Like

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