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
ente78 labrys
1,869 Pointscode challenge: fonts and colors
Add the background texture.png from inside the img folder and set the background to repeat.
my code is: body{
font-family: "Nunito" sans-serif; color:#faf3bc; background:#420600; url('img/texture.png') repeat; }
i tried hundred version of this code and nothing works. pls just give me the right code.I am totally irritated. why we got such a silly task as a beginner???
thanks in advnace
2 Answers
Christopher Warren
17,640 PointsYou need to seperate "Nunito" sans-serif with a comma
font-family: "Nunito", sans-serif;
Sharon Walls
9,234 PointsYou have a stray semi-colon in your background element. You don't need it until the very end.
background:#420600 url('img/texture.png') repeat;