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 trialJason Konopinski
1,356 PointsTexture.png
I'm not sure what's happening here, but the line of code for this question is formatted correctly despite triggering an incorrect answer.
body {
font-family: 'Nunito', sans-serif;
color: #FAF3BC;
background: #420600; url ('img/texture.png') repeat;
}
3 Answers
Jacob Miller
12,466 PointsIn CSS a semicolon denotes the end of a property. So in you're background property you need to remove the semicolon after your hex color value and just leave a space between that and the url. Like this:
body {
font-family: "Nunito", sans-serif;
color: #FAF3BC;
background: #420600 url("img/texture.png") repeat;
}
James Barnett
39,199 PointsHere's a hint, in CSS as semicolons go at the end of a property just like periods go at the end of a sentence.
Jacob Miller
12,466 PointsOh and also, make sure you don't put a space between url
and the parentheses that come after it.