Learn CSS Variables by Building a City Skyline - Step 78

my code doesn’t pass.
Hint is showing"
You should add a repeating-linear-gradient with a first color of --building-color4 from 0% to 10%

.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%
    );
}

Your browser information:

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

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

Link to the challenge:

I don’t see an instruction that says you need this gradient to be 90deg. So I would remove that.

1 Like

Thank you for replying.That worked.

1 Like

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