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 trialchaz mccain
1,099 PointsWhy is the preview showing an Index/ of .jpg files?
I have built the code exactly as instructed however, when i click preview, a tab named "index of/" opens displaying:
Index of /
[ICO] Name Last modified Size Description
[TXT] Index.html 2020-05-06 22:14 184
[IMG] featured.jpg 2017-06-06 17:30 33K
[IMG] vr-space.jpg 2017-06-06 17:30 79K
[IMG] vr-user.jpg 2017-06-06 17:30 39K
Apache/2.4.18 (Ubuntu) Server at port-80-medeeq8ler.treehouse-app.com Port 80
4 Answers
Nina Gripenborn
3,726 PointsCode looks fine. You need to rename your index.html file with lower case i instead of Index.html :)
jhon white
20,006 PointsCould you please include your code !!
chaz mccain
1,099 Points1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Experience-VR</title>
5 </head>
6
7 <body>
8 Experience VR
9 A simple blog about virtual reality experiences
10 </body>
11</html>
Fran ADP
6,304 Pointscould you include your code pls.
chaz mccain
1,099 Points1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Experience-VR</title>
5 </head>
6
7 <body>
8 Experience VR
9 A simple blog about virtual reality experiences
10 </body>
11</html>
jhon white
20,006 PointsEvery thing looks good.
<!DOCTYPE html>
<html>
<head>
<title>Experience-VR</title>
</head>
<body>
Experience VR
A simple blog about virtual reality experiences
</body>
</html>
Maybe you need to put your code in a file with (.html) or saved before press review.
I checked for you and it is worked.
Good luck :)
Craig McNaughton
2,864 PointsCraig McNaughton
2,864 PointsI was having the same issue, and this was the solution ^. Thanks, Nina.
Sherry Yu
4,023 PointsSherry Yu
4,023 PointsI also had the same issue and this is the solution, Thanks! The only note I need to add is that when you rename your HTML file, the name has to be exactly "index.html". I've tried using the name "vr-experience.html" and failed to launch the proper web, even though all the letters were in lower caps.