Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Stuck 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

switching web browsers seemed to solve the problem. thanks again for your help.

Forgot your semicolon ;-)

jason Clark
jason Clark
2,429 Points

you need to add a semi colon after #fff;

still no dice unfortunately, i had been including the semicolon in my code but forgot it to put it in the prompt. any other thoughts?

Paste the full code

question:Set the color of anchor elements inside the nav element to white using a hexadecimal value.


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; }

Hm, 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.

I am using chrome so I will give it a shot with another browser. Thanks for your input.

You're welcome - let me know if it works for you.