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

CSS

Wants me to style (:hover) and it wont pass? Not sure what im doing wrong here.

I've been stuck on this code challenge for embarrassingly long and don't know what to do to get past it at this point, ive looked back at the videos but it doesn't seem to be helping me...

nav a: hover {
color: #000
}

Hey Abby , Add your code to your question then you will have a better chance of some help :)

2 Answers

You don't need space between a:hover

I'm was too slow :)

It might be that you have a space between your colon and selector

This is what I believe you have if it is exactly how you pasted it. There is a space between a: and hover:

nav a: hover { color: #000 }

Try the below code:

nav a:hover { color: #000 }

Thank you!!