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 trialHampton Dunlap
Front End Web Development Techdegree Student 14,308 PointsStuck on hexadecimal exercise
when prompted to set the color of anchors within the nav element to white, i enter the following:
nav a { color: #fff }
apparently this is not correct and I cannot seem to figure out the answer. any advice?
9 Answers
Hampton Dunlap
Front End Web Development Techdegree Student 14,308 Pointsswitching web browsers seemed to solve the problem. thanks again for your help.
mikkellaursen
5,585 PointsForgot your semicolon ;-)
jason Clark
2,429 Pointsyou need to add a semi colon after #fff;
Hampton Dunlap
Front End Web Development Techdegree Student 14,308 Pointsstill no dice unfortunately, i had been including the semicolon in my code but forgot it to put it in the prompt. any other thoughts?
mikkellaursen
5,585 PointsPaste the full code
Hampton Dunlap
Front End Web Development Techdegree Student 14,308 Pointsquestion:Set the color of anchor elements inside the nav element to white using a hexadecimal value.
code:
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: #fff; }
mikkellaursen
5,585 PointsHm, beats me..
Are you using Chrome on OS X? I think I read something about it being buggy atm. Maybe try a different browser or a restart of the browser.
You can also try typing out the full hexadecimal value (#FFFFFF), or maybe just in caps (#FFF).
I just took the challenge and succeeded using the shorthand hexadecimal value in caps (#FFF).
I can see nothing wrong with your code.
Hampton Dunlap
Front End Web Development Techdegree Student 14,308 PointsI am using chrome so I will give it a shot with another browser. Thanks for your input.
mikkellaursen
5,585 PointsYou're welcome - let me know if it works for you.