Build a City Skyline - Step 75

Tell us what’s happening:

its showing your second color of --window-color4 should range from 10% to 90% i have written the write code output is also correct but don’t know the source of error plz help

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%,
      var(--building-color4) 90%,
      var(--building-color4) 100%, 90deg,
      );
}

/* 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/139.0.0.0 Safari/537.36

Challenge Information:

Build a City Skyline - Step 75
https://www.freecodecamp.org/learn/full-stack-developer/workshop-city-skyline/step-75

1 Like

you have too much code in your 2nd gradient.

They only wanted 0-10 for the first color and 10-90 for the second color.

2 Likes