Tell us what’s happening:
Hi, could anyone here explain why this error happen?
Your code so far
.fb5 {
width: 10%;
height: 33%;
background-color: var(--building-color2);
position: relative;
right: 10%;
background: repeating-linear-gradient(
90deg,
var(--building-color2) 0%,
var(--building-color2) 5%,
transparent 5%,
transparent 10%
);
}
but that code didn’t work and it keep telling me this:
“Hint: You should give the repeating-linear-gradient
a first color of --building-color2
from 0%
to 5%
”
So, what went wrong?
Your browser information:
User Agent is: Edge/107.0.1418.42
Challenge: Learn CSS Variables by Building a City Skyline - Step 104
Link to the challenge:
Thank you!