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

HTML How to Make a Website Styling Web Pages and Navigation Style the Image Captions

Selector "color: #bdc3c7

I have a question about Selector "color: #bdc3c7;" in #gallery li and #gallery li a p - to which this declaration refers to a gallery li ? Thank you for answer.

2 Answers

If i understand you question... you ask which selector to use, in order to style all list items in class gallery... so

With #gallery li a p - you style all paragraphs in class gallery, inside list items and anchor tags.

With #gallery li - you style all list items in class gallery (that is you need).

Thank you for your answer. But is it necessary to use this example #gallery li {color: #bdc3c7; } I have noticed that the project was not needed?

Could you send my link from this quiz? I will check it, i pass it few days ago but i don't remember it...