Https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-css-variables-by-building-a-city-skyline: Step 40

Hello Can Someone please help me i have trouble here

Code:
.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);
background: /Some One Pls Help/ linear-gradient(
–building-color1,
–window-color1
);
}

You are not quite accessing the CSS custom variables properly. Look at how you did it for the background-color property:

background-color: var(--building-color1);

Do you see what you had to put around the variable name in order to access the value? You need to do the same thing for the variables in the linear gradient.

Yeah I Forget That I Was Learning A lot And my brain act like ultra old pc

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