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 trialAdrian Heredia
2,199 PointsIt 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
20,822 PointsTry using just background: instead of background-color:
James Barnett
39,199 PointsAdrian 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
4,392 PointsFrom 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
4,392 PointsJust tested it out, you guys are right, its definitely the background-color thing :)
Adrian Heredia
2,199 PointsThanks Derek! that was it, and thanks everyone else for your concern. Looking forward to learning some more. Bye guys... and girl
Adrian Heredia
2,199 PointsThanks
Stone Preston
42,016 PointsStone Preston
42,016 PointsIt looks like this is whats causing the error good eye