I put the correct code in for this step and even watched a video with the same code but the step will not pass for me and keeps giving me the error that the correct code is not in place when it is.
Step 35
The skyline is coming together. Fill in the background-color
property of the foreground buildings. Use your --building-color1
variable to fill in .fb3
and .fb4
, --building-color2
for .fb5
, --building-color3
for .fb2
and .fb6
, and --building-color4
for .fb1
.
.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)
}
.fb5 {
width: 10%;
height: 33%;
background-color: var(--building-color2)
}
.fb6 {
width: 9%;
height: 38%;
background-color: var(--building-color3)
}
Test
Sorry, your code does not pass. Keep trying.
Hint
You should give .fb2
a background-color
using --building-color3
.