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
Christopher Perry
358 PointsTrouble with a Challenge
Challenge Question: Add the background texture.png from inside the img folder and set the background to repeat.
Answer: body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url ('img/bg-texture.png') repeat; }
the portion "url ('img/bg-texture.png') repeat" is my answer I just listed all the coding in the challenge so you can have the bigger picture.
But the challenge is telling me: Bummer! Make sure you put the relative path to the image inside of 'url()'. But that is the relative path...I think!?
Any ideas? Thanks in advance!
3 Answers
Chase Lee
29,275 PointsTake out the bg- in:
url ('img/bg-texture.png')
Jason D'Angelo
6,592 PointsYup, I did the sane thing. The video drills bg-texture into your head, then the challenge asks for just texture. Took me some time to figure it out.
Christopher Perry
358 PointsI see. It worked. Thanks! Those darn tricky treehouse guys.