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

HTML Build a Simple Website Text Editors and HTML Images and Lists

What directory?

I need help with finding the image 'cupcake.jpg'. It says it's in a directory but I don't know what that is.

4 Answers

Hi Sha-Asia,

For the code challenge you don't need to find the image. The challenge is simply telling you where it is so that you can come up with the correct path. You can assume the image exists where they say it does.

A directory is a folder. You may be able to find that image in your assets directory.

Robert Wasinger
Robert Wasinger
12,385 Points

A directory is a folder structure. In most of the projects, images are located in the "img" folder.

Try changing the path to "img/cupcake.jpg". This goes in the folder named "img" and looks for the file "cupcake.jpg".

Im not sure because i didnt do that but look if that is in the folder . Downolad the zip file from the right --> of your page and look at bottom " Project File" there you will have what you need for that course . Eg images , some code etc.. you should have the image cupcake there