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 trialJorge Salazar
3,805 PointsHi, I'm not really getting what you want me to do in task 4 from this stage
Hi, I'm not really getting what you want me to do in task 4 from this stage:
3 Answers
Jorge Eduardo Garcia Celorio
10,112 PointsSorry, my previous post was for Task #1.
This is for Task #4;
The hover state is a css pseudo-class. The way you target the anchor elements of navigation is:
nav a:hover{ color: #32673f; }
And that's it!
Mark Josephsen
8,803 PointsSo when it says: "Add a hover state for navigation links that changes the text color to the value #32673f." It's asking you to select any "a" elements inside your "nav" element when the mouse is hovering over it and then change the color to #32673f. Here is an example of something similar, but not your exact answer. You'll need to come up with that on your own. ''' footer p:hover { text: #fff; } ''' Hope this helps!
Jorge Eduardo Garcia Celorio
10,112 PointsHi Jorge!
Simple, you just need to select the h1 and h2 headers:
Remember that white color for hexadecimal is #FFF. So,
h1{
color: #FFF; }
h2{
color: #FFF;
}
Jorge Salazar
3,805 PointsJorge Salazar
3,805 PointsYup, I was accidentally putting a space in a:hover, when there shouldn't be one.
Thanks! ;)