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

Adrian Heredia
Adrian Heredia
2,199 Points

It says oops! on, so I'm stuck.

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

5 Answers

Derek Etnyre
Derek Etnyre
20,822 Points

Try using just background: instead of background-color:

Stone Preston
Stone Preston
42,016 Points

It looks like this is whats causing the error good eye

James Barnett
James Barnett
39,199 Points

Adrian Heredia - background is a shorthand property it's actually

> A combination of some or all of the values for background-color, background-image, background-repeat, background-attachment and background-position.

source: http://www.htmldog.com/reference/cssproperties/background/


So when you use background you can specify a background-color, background-image, background-repeat together under one property.

Whereas background-color you can only specify a background-color

Selina Haynes
Selina Haynes
4,392 Points

From what I can see, you just need single quotes around the font name. So

font-family: 'Nunito',

instead of : font-family: Nunito,

Hope that helps.

Selina Haynes
Selina Haynes
4,392 Points

Just tested it out, you guys are right, its definitely the background-color thing :)

Adrian Heredia
Adrian Heredia
2,199 Points

Thanks Derek! that was it, and thanks everyone else for your concern. Looking forward to learning some more. Bye guys... and girl