Building a City Skyline - # Step 104

The exercise is:

Step 104

On to the next building! It’s the green one in the foreground. Give it a repeating-linear-gradient with your building color from 0% to 5%, and transparent from 5% to 10%.

But when i put:

.fb5 {
width: 10%;
height: 33%;
background-color: var(–building-color2);
background: repeating-linear-gradient( var(–building-color2) 0% 5%,
transparent 5% 10%
);
position: relative;
right: 10%;
}

The page give this error:

Sorry, your code does not pass. Keep trying.

You should give the repeating-linear-gradient a first color of --building-color2 from 0% to 5%.

have you tried the other syntax the one with one color one color stop?


If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I really appreciate your response, although honestly, the button you mentioned isn’t helpful since it only suggests asking in this forum or searching on another page, which, in turn, tells me to look up the error on Google, read the documentation, or ask a friend.

Not even with ChatGPT have I been able to find an answer to what mistake I’m making.

Thank you so much for responding so quickly—big hug!

if you click that big button “Create a help post on the forum” next time you need help, there will be a template created automatically for your that contains your code properly formatted, and a link to the challenge, next time you need help you should use that, it avoids people asking you for a link to the challenge.

That was a general advice.

The part related to this asking for help was

have you tried?