hi guys i am stuck with this step, i can’t understand what i am doing wrong, i already read a couple of topics about that and the answer was similar to what i was writing on my code ( i was missing the var().) then i tried again as below, but it keep showing me the message that “i should have a linear-gradient
transitioning from --building-color2
at 0%
to 6%
, and --window-color2
at 6%
to 9%
”. The funny thing is that if i change the 9% with another number the message change and it says that “i should use --window-color2
from 6%
to 9%
.” seems like that is the only mistake.
i cant figure that out please help, thank you!
.bb2b {
width: 100%;
height: 100%;
background: linear-gradient(
var(--building-color2) 0%,
var(--building-color2) 6%,
var(--window-color2) 6%,
var(--window-color2) 9%,
);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Challenge Information:
Learn CSS Variables by Building a City Skyline - Step 51