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.

Justine Crowley
289 PointsCSS cide challenge issue (Challenge task 2 of 4): Set the color of paragraphs to black using a hexadecimal value
Challenge task 2 of 4 in CSS - Im stuck!
Task: Set the color of paragraphs to black using a hexadecimal value
The code I entered:
header { background: #6ab47b: border color: #599a68: }
h1, h2 { color: #fff; }
nav a, nav a:visited { color: #040000; }
body { background-color; #fff; color: #040000; }
Note: checked the w3schools page, and #040000 is the hex code I got for black.
Result:
Bummer! Double check that you've styled paragraph (p) elements to be black with a hexidecimal value.
Your help and feedback is much greatly appreciated.
Many thanks
Justine
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
a {
color; #6ab47b:
}
header {
background: #6ab47b:
border color: #599a68:
}
h1, h2 {
color: #fff;
}
nav a, nav a:visited {
color: #040000;
}
body {
background-color; #fff;
color: #040000;
}
1 Answer

Nadiia Sydorova
6,151 PointsHi Justine, selector for paragraph is p, value for black is #000000 (or #000 as short-code).
So in your CSS file you should've typed in: p{ color:#000; }