Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

I have checked Youtube videos of people doing this step and my code seems to match up. I have also tried to copy and paste from someone who said they passed this step and it still didn’t work? Is it a browser issue? My laptop says my browser is up to date. I also tried refreshing the page and that didn’t work either.

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-gardient(
      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 (X11; CrOS x86_64 14816.131.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

Hi @Crazyred ,
Your code is correct, just a minor spelling mistake.
It should be repeating-linear-gradient. You have written “gardient”.

1 Like