Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

I am trying to work out step 78 in building a city skyline, but it is not accepting my answer

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%
    ),
  background:  repeating-linear-gradient(
      90deg,
      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/126.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

1 Like

Don’t repeat the word background here. Just add the gradient after the first one as shown in the example.

Edit: also, the new gradient should not specify a direction.

Got it, thank you for the assistance

1 Like