Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening:

hi, could someone pls explain why step 4 it fails saying that i need to use transparent 15%, even though i have.

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

nvm i got it, had to remove the comma from the last line, as there is no more colours to add.

1 Like