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

CSS CSS Foundations Backgrounds and Borders Advanced Backgrounds

Makayi Lendo
Makayi Lendo
9,033 Points

background images

Do not where I am making a mistake: backgound-image:url('img/smiley.png'), url('img/pencil.png');

2 Answers

Try ('../img/smiley.png') . If your folders designed like css / js / img etc. You must follow the path like ('../img/blabla.png')

Makayi Lendo
Makayi Lendo
9,033 Points

Thank you. The path seems to be correct because ('../img/pic.png') does not pull up a picture but the bottom path does. However, it stills says that there is something wrong. Does the background picture need a position as well? .sketch{ background: url('img/smiley.png') no-repeat, url('img/pencil.png') no-repeat, url('img/texture.jpg') #EED293;

background-position: right top , left bottom; }