Learn CSS Variables by Building a City Skyline - Step 108

Tell us what’s happening:

Can someone please tell me what’s wrong with my code.
My code: background:
repeating-linear-gradient(
90deg,
var(–building-color3),
var(–building-color3) 10%,
transparent 10%,
transparent 30%
),
repeating-linear-gradient(
90deg,
var(–building-color3) 0%,
var(–building-color3) 10%,
var(–window-color3) 10%,
var(–window-color3) 30%
);
The response: // running tests
2. You should give the second repeating-linear-grad

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.fb6 {
  width: 9%;
  height: 38%;
  background-color: var(--building-color3);
  background: 
    repeating-linear-gradient(
      90deg,
      var(--building-color3),
      var(--building-color3) 10%,
      transparent 10%,
      transparent 30%
    ),
    repeating-linear-gradient(
      90deg,
      var(--building-color3) 0%,
      var(--building-color3) 10%,
      var(--window-color3) 10%,
      var(--window-color3) 30%
    );
}

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 108

you should remove the direction in the second one, it wasn’t asked

1 Like