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

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

Lisa Hoffman
Lisa Hoffman
645 Points

Why isn't this answer correct? I"m stuck!

http://teamtreehouse.com/library/write-hexadecimal-colors

this is the challenge I'm on, why wouldn't code lines 19-21 make the paragraphs black?

(p) { color: #000; }

Andrew McCormick
Andrew McCormick
17,730 Points

Lisa, Please copy and paste the code you are trying so we can see. The link you provided only takes us to the challenge, it doesn't automatically include any code you are trying.

(For help on posting code see https://teamtreehouse.com/forum/posting-code-to-the-forum)[https://teamtreehouse.com/forum/posting-code-to-the-forum]

Lisa Hoffman
Lisa Hoffman
645 Points

Thanks gang, I did not need to put ( ) around my p! just p { color: #000; }

3 Answers

Andrew Hoskins
Andrew Hoskins
4,888 Points

lines 19 and 20 are not showing on the link you copied. could you please type in your code here?

jase richards
jase richards
10,379 Points

And possibly show the html file as well.

robert bryan
robert bryan
7,255 Points

Not sure if you tried the keyword "black" instead of the hexadecimal value, but i used this code and it worked fine.

challenge:"Set the color of paragraphs to black using a HEXADECIMAL value."

p { color:#000; }