Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening: Help me with this

.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg,
var(–building-color4) 0%,
var(–building-color4) 10%,
var(transparent) 10%,
var(transparent) 15%,
);
}

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%,
    var(transparent) 10%,
    var(transparent) 15%,
    );
}

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

Hi there!
transperant is not a css variable. You need to add it without variable Syntex

Hey Buddy ,

Nice trial,

Here you need to do 2 changes,

1st remove var from your transparent variable,

2nd remove , after your 15%.

Hope you understand !

2 Likes