Learn CSS Variables by Building a City Skyline - Step 60

.bb3 {
width: 10%;
height: 55%;
background: repeating-linear-gradient(90deg, var(–building-color3) 0%, var(–building-color3) 7.5%, var(–window-color3) 15%);
}

What am I doing wrong here? The system keep telling " You should use --building-color3 for the first two colors." I checked this on chatgpt and did a copy paste which was the same I did but still getting this error!?!?!?!

In the future, please use the Help button provided in the step to ask for help about a specific step as it will automatically provide a link to the step and include your code in the proper format.

I don’t think the tests want you to add the percentages on the first two colors, only on the last one. That’s the point of this step, to demonstrate that the percentages will automatically be assigned if they aren’t provided.

Thanks for your help it worked and fyi I did use the help button

Using the Help button automatically adds your code and a link to the step, so be sure not to delete that information next time.

Ok I wil remember that thanks a lot

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