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

drcamqmtja
2,699 PointsI don't understand why I can't find my index.html file.
I try to pass the test but it says "can't find index.html file which is necessary for the project to work".

James Privett
7,634 PointsHey Liel,
Are you attempting to load your index.html file to a web server? If so, index.html is and should always be loaded to the root of the web server. On a Linux host, it will most likely be /var/www/html/.
Let me know if you have any questions.
-James
1 Answer

Steven Parker
242,770 PointsIt sounds like you may have your index.html file located in a sub-folder. The preview function will try to find a file by that name in the main folder, and will list the contents if it can't find it.
Make sure your index.html is in the main area or move it there and refresh your preview.
Steven Parker
242,770 PointsSteven Parker
242,770 PointsTo facilitate an accurate analysis, make a snapshot of your workspace and post the link to it here.