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

can't figure out what I'm doing wrong to style the paragraph color

It wants me to color the paragraph black, and I typed in what I thought was right, but it doesn't seem to be working. I probably did it wrong, but not sure how to look up how to do it right.

3 Answers

EDIT: Fixed the semicolon

p{color:#000;}
Calvin Nix
Calvin Nix
43,828 Points

Actually...

p {
     color:#000;
}

Coding on one line can be dangerous. I believe that the code you provided would work, but only for one line. :)

Patrick Koch
Patrick Koch
40,496 Points

Does it tells you if the background(background-color) or the text(color:) needs to be black? the values you enter can be #000000(the same as #000) or rgb(0,0,0).

I'm such a dummy! I just had to write a simple "p" and then the curly brackets. Thanks guys!