Learn CSS Variables by Building a City Skyline - Step 78

Cannot the pass this task at all
Here is my code so far:

**

.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) 0%,
    var(--building-color4) 10%,
    var(--window-color4) 10%,
    var(--window-color4) 90%
  );
}

**

Console message

You should add a

repeating-linear-gradient

with a first color of

--building-color4

from

0%

to

10%

.

Your browser information:

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

Challenge: Learn CSS Variables by Building a City Skyline - Step 78

Link to the challenge:

You don’t want to add 90% to this gradient.

1 Like

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