Tell us what’s happening:
I have put in the repeating-linear -gradient with the two colors they state, with the corresponding percentages. But it still will not accept it as correct.
It says: “## Hint You should use a second color of --window-color4
from 10%
to 90%
.”
Your code so far
.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg,
var(--building-color4),
var(--building-color4) 10%,
transparent 10%,
transparent 15%
),
repeating-linear-gradient(
var(--building-color4) 0%,
var(--building-color4) 10%,
var(--window-color4) 10%,
var(--window-color4) 90%,
);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 78
Link to the challenge: