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 trialIoana Nastasa
8,302 PointsPreview/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?
2 Answers
Jennifer Nordell
Treehouse TeacherHi 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!
edited for additional tip When learning to program you should always assume everything is case-sensitive.
Ioana Nastasa
8,302 PointsOh, thank you so much! It works now! And thank you for the advice! ?
Ioana Nastasa
8,302 PointsHere's the preview :)
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherTo 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.