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 trialClayton Keesee
Courses Plus Student 340 PointsAdd a hover state for navigation links that changes the text color to the value #32673f
How to do this? I know I need to reference my nav links and assign them the value of the color #32673f, but I'm unsure of the syntax, and going back to look at the video is slow.
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #FFF
}
p {
color: #000;
}
nav a {
color:#fff;//#fff is white
}
4 Answers
Kevin Korte
28,149 PointsReviewing the video might be slow, the forum could be slower. You're best bet when you don't remember syntax, and what you want to do for your entire coding career is build an arsenal of web resources you can reference, like this one: https://css-tricks.com/almanac/selectors/h/hover/
Oliver Sewell
16,425 Pointsuse the :hover pseudo class , i hope this helps without giving too much away :)
Kristopher Van Sant
Courses Plus Student 18,830 PointsYes reviewing the videos can take time but it's still helpful to go back through them. If you are simply just wanting the answer, without putting the effort in to attempt the challenges, then you can find the answers somewhere in the forum or with a quick google search. However, if you are really wanting to learn, it's worth it to go back through and review so that the information really sticks with you.
Clayton Keesee
Courses Plus Student 340 PointsI seem to be learning well so far, and I had to ask a question on this one because the syntax wasn't already on the forum. I'm not trying to rush through stuff with no real effort of my own, and I definitely want to learn as best I can, I'm just trying to work as quickly and efficiently as possible.
Oliver Sewell
16,425 Pointsa:hover