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!

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 How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

Arturo Espinoza
Arturo Espinoza
9,181 Points

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

What am I doing wrong? Please help me. The code I entered is: nav a { color: #fff;
}

3 Answers

Arturo Espinoza
Arturo Espinoza
9,181 Points

Actually my coding was right. I just refreshed the site and did the test again and it worked out. Not sure why it happen to begin with but all is well now. Thank you for your help :)

Callum King
Callum King
6,470 Points

Your selector and declaration seem correct. Have you removed the curly braces from the p selector above by accident?

Refreshing the page worked for me. Very frustrating at first, though. I watched and re-watched the video thinking that I must be going crazy; I was typing in the code exactly as the tutorial showed! Just a glitch in the code challenge.