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 trialMary Pieroszkiewicz
Courses Plus Student 1,661 PointsSelector "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
Martin Mihailovski
5,646 PointsIf 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).
Mary Pieroszkiewicz
Courses Plus Student 1,661 PointsThank 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?
Martin Mihailovski
5,646 PointsCould you send my link from this quiz? I will check it, i pass it few days ago but i don't remember it...