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 How to Make a Website Creating HTML Content Add Image Gallery Content

I followed along step by step in Workspaces, but my results do not match those illustrated in the video.

Following along step by step in Workspaces, I entered the code as shown. I uploaded the necessary files and everything, but when I preview my work, instead of seeing the webpage the way it is illustrated in the video, I instead get a webpage as such... Index of/ •img/ "•img/" is a hyperlink which takes me to the page that I should see when I first preview. Additionally, none of the images show up, and when I click on the captions below them, I receive a 404 page saying the image is not found even though I have uploaded those files and put them in the proper directory following the videos step by step.

1 Answer

Your index.html file is located in a folder. You need to move it outside any folders.

Wow. I cannot believe I missed that. Thank you.

No problem. You get that menu when there is no index.html or index.php file in the root directory.