Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

I am trying to use the repeating -linear-gradient but i keep getting error after doing as the code was instructed. What could i be doing wrong here. Please i need help

This is The Code i wrote

repeating-linear-gradient(
90deg, var(–building-color4),
var(–building-color4) 10%,
var(–window-color4) 10%,
var(–window-color4) 90%
)


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

The lesson does not require you to have this.

2 Likes

Thanks alot because you are a life saver, I had checked and checked reviewed all options, i never knew that was what held me down. thanks alot. i appreciate

1 Like

You are welcome, brother. Continue doing the good work.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.