Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

.fb1c {
width: 100%;
height: 80%;
background:
repeating-linear-gradient(
90deg,
var(–building-color4),
var(–building-color4) 10%,
transparent 10%,
transparent 15%
),
repeating-linear-gradient(
90deg,
var(–building-color4) 0%,
var(–building-color4) 10%,
var(–window-color4) 10%,
var(–window-color4) 90%
);
}
Request to check , the above code is not getting passed, I think i didn’t make any mistake .

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(
      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/123.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

Hi @nwantmuri

Delete the …

as the instructions did not ask for that code.

Happy coding

Thank you so much team freecodecamp for the quick support, now the code has passed.

1 Like

thank you for the compliments, but @Teller is a volunteer, they are spending their own precious free time to help on the forum! So, thank you @Teller!

1 Like