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

target the paragraph that is a descendant of the footer element.

.footer { color: slategrey; }

This isn't working for me please help!

The goal of this challenge is to style the contents in the p element which is nested inside the footer element. Ex) <footer> <p> You want to style the code here. :) </p> </footer>

In your css stylesheet, you want use the descendant selector to style the code in the p tag Ex) footer p { color: blue; }

The p tag is a β€œdescendant” of the footer element since it’s inside the footer tag. Hopefully this made a little sense. :-D please let me know

try this .footer p { color: slategrey; } remember that ("p") selector is the descendant of the footer element.

2 Answers

Can you provide a snapshot of your workspace? On the top right of your workspace there's a camera icon, click it to create a snapshot link.

I figured it out. Somehow the Html got changed. Thanks!