Tell us what’s happening:
Hi! So I’m doing the Skyline project, but in step 44 the page asks me to add a linear gradient with the background property to the .bb1d class. So far this is my code, I don’t know if is a sintaxis error or something like that, because the hint says me everytime: “You should use the background
on .bb1d
.” even when the background property it’s in my code.
Your code so far
/* User Editable Region */
.bb1d {
width: 100%;
height: 70%;
background-color: var(–building-color1);
background: linear-gradient(
orange,
–building-color1,
–window-color1
);
}
/* 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/109.0.0.0 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 44
Link to the challenge: