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 Build the Footer

When I press 'Preview' it takes me to a page that says - "Index of / ../ img/" And it does not show my web page?

:( Help anyone?

2 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Adam,

You have your index.html file in the wrong place. It looks like its in your img folder by mistake.

Your file and folder structure should look something like this

index.html
css folder / main.css normalize.css
img folder / image1.jpg image2.jpg image3.jpg
icon folder / icon1.svg icon2.svg icon3.svg
js folder / main.js

Hope this helps.

Thankyou so much! I don't know how I managed to do that but I hadn't realised at all! :D

I had this issue as well, but I guess it matters HOW you type the file name. Lol. Make sure that "index.html" ISN'T CAPITALIZED. (For any one looking for a solution where that one doesn't work) This goes for your other file names too..