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.

2 Answers

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

you are targeting the p of .main-content when it's the ul you want to target:

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

Thank you Bert,

I see that I misunderstood one little thing and it can cause a code not to function correctly.