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 trialSha-Asia Brooks
430 PointsWhat 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
Jason Anello
Courses Plus Student 94,610 PointsHi 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.
Nick Herbold
6,533 PointsA directory is a folder. You may be able to find that image in your assets directory.
Robert Wasinger
12,385 PointsA 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".
Aurelian Spodarec
7,369 PointsIm 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