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 trialMuneer Bhamani
1,825 PointsThe question reads: Set the color of anchor elements inside the nav element to white using a hexadecimal value.
The answer I provided is:
nav a { color: #000; }
The Code Challenge system is rejecting my response. Please help!
Muneer
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: #000;
}
6 Answers
Fernando Boza
25,384 PointsHi Muneer, your code is correct but your color is wrong. Remember 0 is the absence of any light, so 000 is basially black. Remember #FFF is white.
Jennifer Nordell
Treehouse TeacherBecause white is #fff. Black is #000. You have it set to black. Give it another shot.
Muneer Bhamani
1,825 PointsThank you guys, I was going nuts over code itself. These hexadecimal color codes are a nightmare!
Fernando Boza
25,384 PointsRemember Google is your best friend incase you don't have Photoshop or anything like that. Here is a website you can get the color codes from http://www.color-hex.com/
Jennifer Nordell
Treehouse TeacherFernando Boza is correct. I also use this one: https://color.adobe.com. Also very nice if you're looking for a color theme and can't quite get one working for yourself.
Muneer Bhamani
1,825 PointsYou guys are the best! Thank you!
sr01
2,637 Pointsnav a { color: #fff; }
The above is the answer i provided and it still says i am wrong?