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

Next, target the unordered list that is a descendant of the main-content class. Add a background-color property and set

Next, target the unordered list that is a descendant of the main-content class. Add a background-color property and set the value to papayawhip

4 Answers

Hi Robert, hard to help without seeing the original code. But here's what your CSS should be including based on the instruction:

.main-content ul {
    background-color: papayawhip;
}

It asks you to target the unordered list which is the child element of the main-content class, to do that you simply put a space after the class name and then the element name.

This what I believe I should have so far. Would the background color still be orange?

.main-content { }

p { font-weight: bold; }

Thank you Melissa,

Would you know about this question as well? I'm new to doing this.

Give the header element a class attribute. Then, set the class value to main-header. How to solve this?

Hi Robert, I answered your question over here. Hope it explains well :) cheers

Thanks for trying. The bummer reply keeps coming back to the question for ,..

Give the header element a class attribute. Then, set the class value to main-header. I'm not sure what is wrong.