freeCodeCamp.org, Building a City Skyline-Step 78

Add a repeating-linear-gradient to .fb1c below the one that’s there; use your --building-color4 from 0% to 10% and --window-color4 from 10% and 90% . This will fill in behind the gradient you added last.

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

I’ve followed the instructions and tried to fix everything but I keep getting this error message:

Sorry, your code does not pass. Don't give up.

You should add a repeating-linear-gradientwith a first color of–building-color4from0%to10%.

Why is it not going through?

Hi @lsrms3977

Please remove the line indicated in the code block below.

Happy coding

I misunderstood it. Thanks.

1 Like