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 trialtaronj
30 PointsHexadecimal Colors - Challenge 3/4
Ladies/Gents,
I'm having a tough time conceptualizing what is asked of me in this challenge. Maybe an extra set of eyes can elaborate on what I'm doing wrong. The direction states to:
"Set the color of anchor elements inside the nav element to white using a hexadecimal value."
Thus far I've tried using:
1) nav a, { color: #fff; }
2) nav a.selected, { color: #fff; }
Any thoughts on the matter would be greatly appreciated.
Thanks.
4 Answers
Ryan Duchene
Courses Plus Student 46,022 PointsI think that you're right on, but it looks like those commas after your selectors are causing syntax errors. Try removing them. CSS doesn't like trailing commas. :D
Jonathan Baker
2,304 PointsNot sure if this is just your question formatting or not, but there shouldn't be a comma after the selector before the curly brace.
The following should work just fine.
nav a {
color: #FFF;
}
taronj
30 PointsThanks, guys. Happy coding.
MUZ141139 Kenny Mpariwa
13,596 Pointsnav a{ color: #ffffff; }