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 trial

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

Eric Crescioni
Eric Crescioni
1,315 Points

What am I doing wrong? I need to set the paragraphs to black color. I've written: p { color: #000; } didn't work!

I've written: p { color: #000; } didn't work!

4 Answers

Hi Eric-

I ran #000 through this exercise and it worked- did you use O instead of zeros?

I would check the hierarchy of your code and also slowly go through each line and make sure you have all the opening and closing tags

Eric Crescioni
Eric Crescioni
1,315 Points

I refreshed the page and it passed. Thanks for your help guys!

Tobias Mahnert
Tobias Mahnert
89,414 Points

The Code Below passes the challenge, if you want to know why, please let me know. Also rate my answer as best answer if it helped you.

Cheers

h1, h2 {
color: #fff; 
}
p {
color: #000;
}

nav a {
color: #fff;
}
nav a:hover {

color: #32673f;

}