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 Getting Started with HTML Global Structure of an HTML Document

Anthony Sharman
Anthony Sharman
97 Points

Intex.html Title Experience VR won't preview right. I keep getting index followed by links for things I didn't do

Following along the video I have done the steps that have been presented to me twice <!DOCTYPE html> <html> <head> <title>Experience VR</title> </head>

<body> Experience VR A simple blog about virtual reality experience </body> </html>

When I save and go to preview I see a Index title in the tab as well as links to things I haven't done. Am I doing something wrong?

6 Answers

Steven Parker
Steven Parker
229,644 Points

Perhaps you're working in a sub-folder? The "index.html" from the main folder will be served to the preview by default.

If that's not it you might make a snapshot of your workspace and post the link to it here to facilitate further analysis.

I had this problem. but I figured it out. If you name your 'Index.html' file with a Uppercase 'i' at the beginning. It'll display the contents of the directory rather than your web page. You can just right click on the 'Index.html' file and rename it with a lowercase 'i' and it'll display correctly.

Vidya Nair
Vidya Nair
4,507 Points

Thank you! :) This was most helpful!

This worked, thanks!

Christopher Flores
Christopher Flores
6,898 Points

thanks dude crazy how one little thing can throw some code out of whack

THANK YOU FOR THIS!

Anthony Sharman
Anthony Sharman
97 Points

I moved on to the second workshop and it worked fine, for some reason the first one just didn't seem to work right for me but I am okay now. Thank you for replying. Feel free to close this ticket please

Vidya Nair
Vidya Nair
4,507 Points

Same thing described above is happening for me. :(

Steven Parker
Steven Parker
229,644 Points

Post a snapshot (not a "screenshot") if you'd like some help with it.

Anthony Sharman
Anthony Sharman
97 Points

I fixed my issue by hiring save everyone i wanted to preview it

https://w.trhou.se/i1jqamb3bv i have the same problem

Steven Parker
Steven Parker
229,644 Points

Your symptoms may be the same, but the issue can be very different. So you should always start your own fresh question.

But at first glance I could see that your "index.html" file is completely empty.