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

not quite sure how to set this up

how do i set a color for paragraphs using css?

6 Answers

p {
  color: #ffffff;
}

I know this is off-topic but how do you post up your code like that?

I want to upgrade from just copy-pasting like so - p { color: #ffffff; }

If you click the "Markdown Cheatsheet" button below the comment box it will show you how. Basically you wrap you code in backtics (```) and the language that you're using.

<p> Got it. Thanks! <p>
p{
 color:#000000;
}

Hey Tommy you should type your code like this

(```CSS

p{ color:#000000; }

do like this opening like this '''CSS your code and closing like this '''

Your can change CSS to any other language you want to post

<p> Thank you! </p>

when you set paragraphs using css you abbreviate the name of the element thus try to use p{},

thanks guys!