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

Set the color of paragraphs to black using a hexadecimal value.

I am doing the quiz but I don't think we covered paragraphs yet and I don't remember anything being turned to black so I am a bit stuck? Sometimes I check the code along side the quiz and I don't see anything there with P tags?

Sorry figured it out already :)

1 Answer

In case anyone else needs help with this:

remember you have a selector, before the curly braces. Since the selector is a p tag, you don't need a period or a hashtag/octothorpe. Finally, the way to target the color attribute is to use, "color"

Hexadecimal follows a hastag, so after the colon you need # and then 3 or 6 alphanumerics.

p { color: #000; }

or

p { color: #000000; }