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 trialSheryl Wood
1,204 PointsQuestion about code
Can anyone tell me what is wrong with the 4th line of this code? I keep getting a message that it's incorrect, but can't tell what I'm doing wrong. Thx, Sheri
body {
font-family: 'Nunito', sans-serif;
color: #faf3bc;
background: #420600 url('img/bg-texture.png') repeat;
}
5 Answers
emiliakubokirschenbaum
8,816 PointsThe file name is bg-texture.png, not texure.png?
emiliakubokirschenbaum
8,816 PointsThe file name is bg-texture.png, not texure.png?
emiliakubokirschenbaum
8,816 PointsAre you trying to make the background a url or a color?
Sheryl Wood
1,204 PointsI'm trying to get past the Build a Simple Website Fonts and Colors code challenge and the task is:
"Add the background texture.png from inside the img folder and set the background to repeat."
When I check against the website source CSS the code seems to be correct, but for some reason it's not passing.
Sheryl Wood
1,204 PointsThanks Emilia, I'll try removing the "bg-" from the line...