Learn CSS Variables by Building a City Skyline - Step 44

Tell us what’s happening:

I just did the same of what he need but I don’t
see the problem with my code because
I copied paste the answer form the next question
and still the same problem
?

   **Your code so far**

.bb1d{
width: 100%;
height: 70%;
background-color: var(–building-color1);
background:
linear-gradient(
orange,
var(–building-color1),
var(–window-color1)
);
}
.bb1-window {
height: 10%;
background: linear-gradient(
var(–building-color1),
var(–window-color1)
);
}

.bb2 {
width: 10%;
height: 50%;
background-color: var(–building-color2);
}

.bb3 {
width: 10%;
height: 55%;
background-color: var(–building-color3);
}

.bb4 {
width: 11%;
height: 58%;
background-color: var(–building-color4);
}

/* FOREGROUND BUILDINGS - “fb” stands for “foreground building” */
.fb1 {
width: 10%;
height: 60%;
background-color: var(–building-color4);
}

.fb2 {
width: 10%;
height: 40%;
background-color: var(–building-color3);
}

.fb3 {
width: 10%;
height: 35%;
background-color: var(–building-color1);
}

.fb4 {
width: 8%;
height: 45%;
background-color: var(–building-color1);
position: relative;
left: 10%;
}

.fb5 {
width: 10%;
height: 33%;
background-color: var(–building-color2);
position: relative;
right: 10%;
}

.fb6 {
width: 9%;
height: 38%;
background-color: var(–building-color3);
}





       **Your browser information:**

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15</code>

**Challenge:**  Learn CSS Variables by Building a City Skyline - Step 44

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-variables-by-building-a-city-skyline/step-44

the problem is here :blush: :blush: :blush: :blush: :blush: :blush:

this is the solution

background: linear-gradient(orange, var(–building-color1),var(–window-color1));

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