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 trialTrista Whitehead
5,046 Points&:hover not working
I have gone back and watched the video again a couple of times now and I am still not sure where I am getting things wrong here. My code goes a little something like this:
p {
a {
color: red;
&:hover {
opacity: 0.5;
``` }```
``` > a {```
``` color: blue;```
``` }```
```}```
2 Answers
Christer Austad
8,373 Points/* Write your SCSS code below. */
p {
a {
color: red;
}
> a {
color: blue;
&:hover {
opacity: 0.5;
}
}
}
They want you to change the a tag selector, that selects direct a tag children of p tags
Trista Whitehead
5,046 PointsHa! I spent so much time on that and I just read it wrong?? I thought it was Friday. Why does it feel like Monday?