Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Foundations Selectors Basic Structural Pseudo-Classes

First Baptist
First Baptist
5,144 Points

background color

I'm setting my background color to "black" and it appears to be working in the preview mode; however, the quiz keeps telling me that I need to set it to "black."

3 Answers

Hey Patrick,

You mind including the code so we can see whats going on?

First Baptist
First Baptist
5,144 Points

Thanks Alexander,

I just figured it out. I was using the wrong selector in the quiz (ul:first-child instead of li:first-child). When I checked my answer, it gave me the message "Bummer: the color is supposed to be set to "black," or something similar.

I was confused, because my color was set accordingly. But I guess the problem was really my use of the wrong selector. I guess the quiz just gave me a prepared response that didn't really match the error in my code.

Thanks for your help.

No problem,

Glad you figured it out!