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 trial

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