Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

It keeps telling me, “ You should use a second color of transparent from 10% to 15%.” and I don’t know what to do please 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) 0%,
    var(--building-color4) 10%,
    transparent 10%,
    transparent 15%,
  );
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

You should remove that comma since it’s the end of the color stops.

2 Likes