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 trialHeriberto Perez
1,298 Pointsi am not sure if i understand your question. It said that i need to add a hover state to change the color.
for navigation links that changes the text color to the value #32673f, I edited: nav a :hover{ color #32673f } i am so sure if this correct! please don't hesitate to let me know. Thanks!!!
a {
text-decoration: none;
color: #ffffff;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
color: #ffffff;
}
#logo {
text-align: center;
margin: 0;
}
h1,h2{
color: #ffffff;
}
p{
color: #000000;
}
nav a {
color: #ffffff;
}
nav a: hover{
color: 32673f;
}
2 Answers
Chyno Deluxe
16,936 PointsYou need to remove the space between the a:hover
nav a:hover{
color: #32673f;
}
ceecee yeretsky
1,578 Pointsput hover element after colon
Clinton Hopgood
7,825 PointsClinton Hopgood
7,825 PointsIt should look like this:
<code> nav a:hover { #32673f } </code>
Explanation: nav a = target all a tags inside nav tags. :hover = only when hovered over with the mouse.