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 trialJakub Golan
Courses Plus Student 28,393 PointsUnable to complete challenge
H guys,
I seem to have trouble completing the challenge task 4 of 4 after the Advanced Nesting video in the Sass tutorial. When I click the preview the links change color to purple as specified, but when I run the Check Task it fails.
Here is my SCSS:
p {
a {
color: red;
.footer & {
color: purple;
}
}
> a {
color: blue;
&:hover {
opacity: 0.5;
}
}
}
It's probably some dumb mistake that I can't seem to find :) Any help is appreciated.
Cheers,
Jakub
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsHi Jakub,
It's just a picky challenge. They want you to use a more specific selector. Not just any element with a class of "footer" but a div
with a class of "footer"
Jakub Golan
Courses Plus Student 28,393 PointsJakub Golan
Courses Plus Student 28,393 PointsHey Jason, thanks for the tip, will have to learn to read better next time :)