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 trial

HTML How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

Kimberly Skipper
Kimberly Skipper
2,176 Points

challenge question: "Add a hover state for navigation links that changes the text color to the value #32673f" Need help

I answered with : nav a seleceted, nav a:hover { color:#32673f;}

and: nav a seleceted, nav a:hover { color: #fff; color:#32673f;}

I also tried : nav a:hover {#32673f;}

I am having difficulty understanding what I am supposed to do. Thanks

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Kimberly,

The 3rd one you have is correct:

nav a:hover {
  color: #32673f;
}

Are you putting it after the Task 3 rule and not just adding it on to:

nav a {
  color: #fff;
}

?

Both need to be there.

Keep Coding! :) :dizzy:

Kimberly Skipper
Kimberly Skipper
2,176 Points

Thank You for you quick reply Jason. I was removing nav a {color: #fff;}

Now it works :)