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 trialFranziska Christensen
216 PointsI think there is a problem here.
I write the HEX color with #FAF3BC as i am told. I write it like body{ font: #FAF3BC;} but then the corrector says "Remember that hex colors start with '#' and then are followed by six characters. correct me if i'm wrong, but isn't 'F A F 3 B C' 6 characters?
4 Answers
Dino Paškvan
Courses Plus Student 44,108 PointsThe property you should be setting is color
not font
.
Privado Coronel
13,504 Pointsproperty for font color sir is color.
body ( color: #faf3bc; }
geoffrey
28,736 PointsYou don't have to apply the hexadecimal color to the font property, but instead to the color property.
body{
background-color: #FAF3BC; // If you are asked to color the background
color: #FAF3BC; // If you are asked to color the text.
}
Franziska Christensen
216 Pointsokay so if i have to color the text in the body, i will only have to write color. Thanks! :)
Adam Sackfield
Courses Plus Student 19,663 PointsYour are correct that is indeed 6 characters, however I do notice that your application adding a color to the element is incorrect.
body {
color: #FAF3BC;
}
I believe the error message is a little misleading there, it should really have said "almost, try looking at your rule" or something like that.
Franziska Christensen
216 PointsYes, exactly :) Thanks :)