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 trialmallika kompelli
1,734 PointsIn a code challenge the question is "set the color of paragraphs to black using hexadecimal value".
so i set p { color: #ffffff; } it is not going to the next step please le me know the correct answer
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1,h2{
color:#fff;
}
p {
color:#ffffff;
}
3 Answers
morgan segura
Courses Plus Student 6,934 Pointsffffff; is white try #000000;
p { color:#000; /* These are zeroes */ }
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi there...
The code for black in hexadecimal is all zeros...
Hexadecimal is based on a 16 point numbering system so it goes all the way up to F on a single hue of colour.
Put simply, the FF is for White, 00 is for black, so #000000 is the value you want. :-)
mallika kompelli
1,734 Pointshi thank you .it worked
andrew schoenherr
8,427 PointsSorry a bit late. Had a buddy with the same issue. Like the above said black is all zeros. Good reference on this is remembering black really has zero color according to a color wheel. Hope your getting along well!
mallika kompelli
1,734 Pointsmallika kompelli
1,734 PointsThank you. It worked.