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!

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

HTML Build a Simple Website Styling Content Fonts and Colors

challenge 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

It looks like you have a space between 'url' and ('img/bg-texture.png') try removing the space and it should work.

thanks for the response...I will try that.

your confusing the background image file with the css attribute "background-texture"


.class { background-image: url(img/filename.jpg) ; background-repeat: repeat; }

thanks for your response...I will try that.

Its both. Remove the space and change the .png to .jpg.