Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:

I think something is wrong with the unit test. I have tried many times.

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

Hello there!
You were not asked to use a gradient direction.

1 Like

Hello and Welcome!

As leader @stephenmutheu stated, we are not asked to include the gradient direction before the colors for the second repeating-linear-gradient.

He has provided good guidance, as usual.

Keep up the good progress and happy coding!

1 Like