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.

HTML Build a Simple Website Styling Content Fonts and Colors

Ryan Spence
Ryan Spence
770 Points

not sure whats wrong with the way i'm setting font color

<body style = "font-family: Nunito, Sans-Serif; font-color: #FAF3BC; ">

5 Answers

body {
  font-family: Nunito, sans-serif;
  color: #FAF3BC;
  background-color: #420600;
  background-image: url("img/texture.png")
}
Rodrigo Soares
Rodrigo Soares
2,460 Points

E.g.

body {
color: #666;
}

Sometimes our errors are due to missing out one little thing. Make sure you use color and not "font-color". also check to see if your colon was used and semi colon to end the style. make sure the hash symbol is used for hex values.

Thomas Daugherty
Thomas Daugherty
23,983 Points

Did you forget to add the message?

Ryan Spence
Ryan Spence
770 Points

Thanks for all the help