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 trialalvsov
8,462 PointsHow do you do this challange?
Set the color of paragraphs to black using a hexadecimal value.
EDIT: what I am having troble with is applying #000to all my paragraphs.
Thanks
5 Answers
Richard Dale
167 Pointsor
p { color: #000; }
Richard Dale
167 Pointsshould be #000000;
alvsov
8,462 PointsThank you Richard Dale, you answered my question!
Richard Dale
167 PointsNo worries, out of interest white would be #fff
when the last three characters are the same they can be left off.
Kenneth Love
Treehouse Guest TeacherIt's not "the last three", but whether or not both characters in a pair are the same.
If I want a light yellow, say #FFEE66
, I can abbreviate that as #FE6
because all three pairs (one for red, one for green, one for blue) have duplicate values.
This has to be true for all three pairs, though, you can't do something like #FE62
alvsov
8,462 PointsThanks again, I changed it (again) in the original question. I best state that here, just so you don't look like you don;t know what you are talking about!