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

Toni Caktas
Toni Caktas
16,957 Points

what is wrong?

body{ font-family: Nunito,sans-serif; color:#faf3bc; background-color:#420600; background-image:url("../img/texture.png") repeat; }

1 Answer

It may be because you don't have all the shorthand (you also have the path wrong).

You can do:

body { 
  font-family: 'Nunito', sans-serif; 
  color: #FAF3BC;
  background-color: #420600;
  background-image: url('img/texture.png');
  background-repeat: repeat;
}

or

body {
  font-family: 'Nunito', sans-serif;
  color: #FAF3BC;
  background: #420600 url('img/texture.png') repeat;
}