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 Images, Text and Links Understanding File Paths

Ioana Nastasa
Ioana Nastasa
8,302 Points

Preview/Workspace Error

When I hit the preview button, instead of it showing me the Index.html page, I land on an index page of all the files I have in the workspace. (Like this: Index of / ARTICLES/ Index.html featured.jpg vr-space.jpg vr-user.jpg ) Which means I can't use the file paths specified in the video. What should I do?

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

To assist you, we're going to need to see your workspace. This is most easily accomplished by making a snapshot and posting the link here. This enables us to fork your workspace and further investigate the problem.

2 Answers

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

Hi there! Your file is simply named incorrectly. You've named it Index.html but it should be index.html. Note the capitalization. While on a Windows system, capitalization inside of file names is not generally important, this is not true of *NIX file names. On a Linux/Unix-based system, Index.html, index.html, and iNdex.html are all separate files.

You can rename the file by right-clicking it and choosing "Rename" from the context menu.

Hope this helps! :sparkles:

edited for additional tip :bulb: When learning to program you should always assume everything is case-sensitive.

Ioana Nastasa
Ioana Nastasa
8,302 Points

Oh, thank you so much! It works now! And thank you for the advice! ?