Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

Hi there, please can you help me with below code ? The error message is:

est

Sorry, your code does not pass. Hang in there.

Hint

You should use a second color of --window-color4 from 10% to 90%.

Where is the mistake in below code, please ?

.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%,
    );
}

try removing the comma on the last line

1 Like