Hey guys,
I’m stuck on step 51, I’ve tried to replicate the syntax of the example given but i keep getting this error returning:
" Test
Sorry, your code does not pass. Don’t give up.
Hint
.bb2b
should have a linear-gradient
transitioning from --building-color2
at 0%
to 6%
, and --window-color2
at 6%
to 9%
. "
I can’t spot where I’ve gone wrong
/* User Editable Region */
.bb2b {
width: 100%;
height: 100%;
background: linear-gradient(
var(–building-color2) 0%,
var(–building-color2) 6%,
var(–window-color2) 6%,
var(–window-color2) 9%,
);
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 51
Link to the challenge: