Learn CSS Variables by Building a City Skyline - Step 78

Tell us what’s happening:
My code is not working and I am pretty sure is well written. I know there is another question of this but it is not my case. There is the code for the freecodecamp limitation. The rest of the code is the one that freecodecamp provides when you keep accomplishing the challenges.

Your 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),
    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; rv:109.0) Gecko/20100101 Firefox/118.0

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

Link to the challenge:

It didn’t ask you to use 90deg for the second repeating-linear-gradient

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