Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

Why does it still says, You should use a second color of --window-color4 from 10% to 90% in second gradient of .fb1c.

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.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),
      var(--building-color4) 10%,
      var(--window-color4) 10%, 
      var(--window-color4) 90%
    ), 
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

You have a stray comma here.

1 Like

Tysm :heart_exclamation: that really worked !

1 Like