Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

It keeps telling me to not alter the first repeating-linear-gradient. I don’t!!

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) 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; rv:131.0) Gecko/20100101 Firefox/131.0

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

Something is missing in this variable.

2 Likes

thank you. kinda throws you when it tells you i’ve altered the first one

2 Likes

Sometimes you have to check line by line if what they offered in the hint box wasn’t helpful.

1 Like

[quote=“stephenmutheu, post:4, topic:716583, full:true”]
Sometimes you have to check line by line if what they offered in the hint box wasn’t helpful.
[/quote]thank you bro, i made the same mistakes

I was encountered the same problem, and open this help page then realized I forgot something just like OP did.

It is fascinating seeing myself can spot the mistakes of others but having difficulty to spot what’s wrong of myself :laughing::sweat_smile::sweat_smile:

1 Like