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 trialRobert Smith
451 Pointschallenge task 4 of 4: what am I doing wrong??
this is the code I've entered... body { font-family: 'Nunito', sans-serif; color: #faf3bc; background:#420600 url ('img/bg-texture.png') repeat; }
4 Answers
Josh Davis
24,227 PointsIt looks like you have a space between 'url' and ('img/bg-texture.png') try removing the space and it should work.
Paul Rosenbeck
Courses Plus Student 1,089 Pointsyour confusing the background image file with the css attribute "background-texture"
try:
.class { background-image: url(img/filename.jpg) ; background-repeat: repeat; }
Robert Smith
451 Pointsthanks for your response...I will try that.
Bryan Smith
890 PointsIts both. Remove the space and change the .png to .jpg.
Robert Smith
451 PointsRobert Smith
451 Pointsthanks for the response...I will try that.