Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Jessica magdefrau
351 PointsSet the color of paragraphs to black using a hexadecimal value.
this is the error it's giving me: Double check that you've styled paragraph (p) elements to be black with a hexadecimal value.
this is what my code looks like: a { text-decoration: none; } h1,h2 { color: #fff; }
wrapper {
max-width: 940px; margin: 0 auto; }
logo {
text-align: center; margin: 0; }
a {
text-decoration: none;
}
h1,h2 {
color: #fff;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
3 Answers

simon buysse
9,716 PointsHi jessica! Your code doesn't have any styling applied to the paragraph element.
To add styling to the paragraph element you select it first with the selector 'p' You then say what property you'd like to change and what value it should have. In your case, this is the 'color' property and you want to set it to black. The hexadecimal code for black is #000000 (or shorthand #000)
So try adding this to your code:
p{
color: #000;
}

Mark Leonard
7,428 PointsYou are setting the header elements (h1, h2). You should set the paragraph in the same way.
p {
color: #fff;
}

Jessica magdefrau
351 Pointsgot it, thank you guys!
Marcus Quarles
14,598 PointsMarcus Quarles
14,598 PointsCall the p (paragraph) tag specifically and set it to black.
p { color: #000; }