Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Sass Basics (retired) Getting Started with Sass Advanced Nesting

A.J. Kandy
A.J. Kandy
Courses Plus Student 12,422 Points

Am I nesting things incorrectly or using the wrong selector?

On the 4th challenge in the Advanced Nesting quiz in the Sass Deep Dive course. Keep hitting a wall with this.

To my mind, adding "div.footer & {color:purple;}" just inside the last nesting ought to do the trick - select links that are the children of p tags within the .footer div. But I keep getting told I need to add the ampersand after the .footer div selector. A bit lost now, and I'd rather not just keep bashing at it trial-and-error style. thanks in advance!

EDIT: Solved with another person's answer. Thanks for reading.