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

Could you please help me with my Sass code challenge?

I am on part three of the stage Sass and I need help. I have no idea what to do here I have tried several things. Anyhow, here is my code.

.animals { background: #369; }

.dogs { @extend .animals; }

%super_link { a { font-weight: bold; color: red; } }

.message_box @extend .super_link { @extend .super_link; }

Then here is the link to the code challenge, http://teamtreehouse.com/library/extending-selectors

Andrew Milne
Andrew Milne
10,071 Points

Hi Leon,

You are almost there, but the 'a' link should be nested inside .message_box, not inside the 'super_link' placeholder. You then need to apply the 'super_link' style to the 'a' link inside 'message_box'. Hope that helps!

Thank you very much, I had gotten it.

Hi Andrew,

Further down the page is a spot to leave answers. Comments to a question are good for things like requesting code or getting some clarification on the question.

Andrew Milne
Andrew Milne
10,071 Points

Ah yeah, I see it thanks Jason. I'd missed that until you pointed it out! :)