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 color of paragraphs

the first quiz, after 2 videos is set color of paragraph to black? I have tried several variations comes back bummer double check that you've styled paragraph elements. I have gone back over the videos several times and nowhere does Nick go into styled paragraph element. On the quiz you cant toggle over to html.index and that is the only place I see where there is <p> elements. I know I am missing something but just can't see it. thanks in advance. sondra

Stone Preston
Stone Preston
42,016 Points

can you post the code youve tried so far? to get code to show up in forum posts, you have to format it using markdown. There is a markdown cheatsheet on the bottom right of the post/comment text box. You can also watch the tips for asking questions video on the right side of the page or check out this post

1 Answer

James Ingmire
James Ingmire
11,901 Points

HTML:

<p>paragraph text, background in black hex color</p>

CSS:

p {
background-color: #000000; 
}

If you want to color the text only its color:#000000; instead. Or color:black; if you've not learned hex colors yet. Hope this helps.