Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

its says You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10%.
I already did.

Your code so far

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

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

.fb1c {
  width: 100%;
  height: 80%;
  background: 
    /* First gradient */
    repeating-linear-gradient(
      90deg,
      var(--building-color4) 0%,
      var(--building-color4) 10%,
      transparent 10%,
      transparent 15%
    ),
    /* Second gradient */
    repeating-linear-gradient(
      90deg,
      var(--building-color4) 0%,
      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

Remove 90deg from the second one

still the same problem

Please reset this step and try again. You have added 0% to the first gradient, but that was not in the given code.

.fb1c {
  width: 100%;
  height: 80%;
  background: 
    /* First gradient */
    repeating-linear-gradient(
      90deg,
      var(--building-color4) ,
      var(--building-color4) 10%,
      transparent 10%,
      transparent 15%
    ),
    /* Second gradient */
    repeating-linear-gradient(
      var(--building-color4) 0%,
      var(--building-color4) 10%,
      var(--window-color4) 10%,
      var(--window-color4) 90%
    );
}

same problem :frowning:

Remove 0% from the second gradient, too, please.

same problem my friend :frowning:

Okay. You are not referencing your colors correctly in the second gradient. I just noticed that. There should be two – before the color.

same problem my friend

Post your updated code please.

if you are still not passing you have other issues, try removing the comments, reset the step to make sure you have not changed anything else around, etc