Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

i am stuck on step 78 of the build a skyline task.

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

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) 0%,
      var(--window-color4) 10%,
      var(--window-color4) 15%
    ),
    repeating-linear-gradient(
      var(--building-color4),
      var(--building-color4) 10%,
      transparent 10%,
      transparent 90%
    );
}

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 78

here you have a period instead of a comma, making the css invalid

thanks. when i changed the period to a comma it still insists

Sorry, your code does not pass. You’re getting there.

You should not alter the first repeating-linear-gradient.

thanks

oh, you made the first gradient become the second gradient, you should reset the lesson, and add the second gradient after the first without changing the first gradient

thank you very much. it was bugging me.

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