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 HTML Basics Going Further with HTML Working on a Website Project Locally

Having issues with previewing web pages.

When I try to preview the web page I'm working on in workspaces the following page contents pops up:

Index of / Index.html articles/ img/

This also happens with I click on any of the links. Does anyone know why this is?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! It sounds like you may have accidentally named your index file incorrectly. In Windows, the capitalization of files doesn't matter very much, but this is not true of Linux based operating systems. Most web servers are run on a Linux/Unix based operating system. Check to make sure that your file is named index.html and not Index.html. When learning to program, it's always a good idea to assume everything is case-sensitive.

Let me know if this helps or if you're still stuck! :sparkles:

It worked! Thanks!

Asanka Pathirana
Asanka Pathirana
2,295 Points

Hi Bridget,

Reason for the error code can be file name be differ from actual which you command in work-space. If it is a image view you want to get from subject link see whether it has being mapped to correct destination in folder. let me know what happens.

Happy coding.