Build a City Skyline - Step 57

Tell us what’s happening:

My var(–window-color3) value is not recognized. Am doing something wrong?

…

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

…

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */
            var(--window-color2) 9%
    );
}

.bb3 {
    width: 10%;
    height: 55%;
    background-color: var(--building-color3);
    background: repeating-linear-gradient(
/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36

Challenge Information:

Build a City Skyline - Step 57

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-city-skyline/5d822fd413a79914d39e9904.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @LostEden2022

Syntax highlighting is showing an issue with your hyphens.

Compare it with the ones in .bb4 selector.

Don’t forget:

Use 90deg for the direction, your building-color3 for the first two colors, and window-color3 at 15% for the third. When you don’t specify a distance for a color, it will use the values that make sense. In this case, the first two colors will default to 0% and 7.5% because it starts at 0%, and 7.5% is half of the 15%.

Happy coding