Learn CSS Variables by Building a City Skyline - Step 108

Tell us what’s happening:
My code for step 108 has refused to pass despite doing everything I know to fix it. Please tell me what I’m doing wrong.

Thanks.

My code so far

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

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 108

Link to the challenge:

You changed the original gradient.
Reset and this time add a gradient without modifying the colours of the old one.

1 Like

Thank you very much. It’s worked now.

1 Like

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