If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It 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.
Hey! background and background-color are two different properties.
background-color: this property is used to specifically change the background color of an element
background: This property is much more generic than its counterpart because with its help, in addition to changing the color of an element, you can also add images as well as gradients to your background.
In this exercise, you’re supposed to use background as mentioned in the intructions.
So all we have to do is change background-color to background? If that’s the case, then that’s what I did and I’m sure others did and it still says it’s wrong. I restarted the code a couple of times and still the same. It seems like it might be a glitch on freecodecamp’s end.
Their code has the bug that i mentioned above and all of the tests seem to pass for me when i corrected it.
As @JeremyLT mentioned, If you’re facing a similar problem, it would be a much better experience for you if you just post a new question,
If you do that, you can add the code that you’re trying to run which would make it easier for other people to help you and provide personalized feedback.