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 Sass Basics (retired) Getting Started with Sass Advanced Nesting

Patricia O'Neill
Patricia O'Neill
9,278 Points

Advanced Nesting Challenge 4 of 4

I do not understand what is being asked and am at a standstill. Please provide guidance.

1 Answer

James Barnett
James Barnett
39,199 Points

You can use the parent selector &, at the beginning of a selector like you did in step 3 of this code challenge. Well you can do the same thing at the end of a selector as well.


Basically you want to:

Select any <a> element that is child of a <p> which is inside of a <div> with a class of .footer


If you are still confused on how parent selector works at the end of a selector, you might want to go back and re-watch the video. After that feel free to write here about your understanding of how the parent selector works, I'll try to clear up any areas of confusion.