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 trialFoss Blue
Courses Plus Student 1,452 PointsWhy does the work space return "Index of /" in the pages tab?
It recently occurred randomly, tried coping and pasting from an exercise and problem still exist.
2 Answers
Jovanny Elias
16,204 PointsThis image makes it a little easier to see. Your index file should not be isnide folders. Just inside your main root or main directory file
Jovanny Elias
16,204 PointsHello, this issue typically happens when your index.html files is with in sub folders so when your browser tries to look for the main page or "index.html" it will look on your main directory not inside sub directories. Can you let me know how you saved your file were in your directory for example
Site name(main directory)
html(folder)
index.html(sub folder)
Or is it
Site name
- html(folder)
- index.html(not inside a folder)
Foss Blue
Courses Plus Student 1,452 PointsI usually just pressed ctrl+s to save the file. I think I have it saved in downloads if that is any help
Foss Blue
Courses Plus Student 1,452 PointsFoss Blue
Courses Plus Student 1,452 PointsThanks you, Image helped
Jovanny Elias
16,204 PointsJovanny Elias
16,204 PointsIf you are still having an issue you can post your workspace for us to see and find the issue you maybe having. You can see how to post your workspace snap Shots here.
Foss Blue
Courses Plus Student 1,452 PointsFoss Blue
Courses Plus Student 1,452 PointsAfter seeing the image, i was able to solve the problem. Thanks again
Jovanny Elias
16,204 PointsJovanny Elias
16,204 PointsGlad I could help