Learn CSS Variables by Building a City Skyline - Step 77

My code isn’t working, giving me the hint of " You should use a second color of transparent from 10% to 15% ."

code i’m working with :
.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg,
var(–building-color4) 0%,
var(–building-color4) 10%,
transparent 10%
transparent 15%,
)
}

Add a comma after the first ‘transparent 10%’, delete the comma after the second "transparent 15%, add the semi-colon after the closing parenthesis, and check that you added properly two dashes before words “building” (I can not see them here).

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