Learn CSS Variables by Building a City Skyline - Step 77

Tell us what’s happening: Can someone tell me what’s wrong?

It’s saying " You should use a second color of transparent from 10% to 15% ."

Your code so far

.fb1c {
  width: 100%;
  height: 80%;
  background: repeating-linear-gradient(
    90deg,
    var(--building-color4) 0%,
    var(--building-color4) 10%,
    transparent 10%,
    transparent 15%,
  );
}

Your browser information:

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

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

Hi @Madik9 !

I do not think you need to specify the zero, just have a comma.

I always picture this part as a list of items, when you finish listing your items, the last item does not require a comma. It’s the same case here.

This comma is not required.

1 Like

You can’t have a comma after the last one. CSS thinks that there should be another value after that comma.

1 Like

this worked. Thanks!

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