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 Headings and Paragraphs

Jordan Arce
seal-mask
.a{fill-rule:evenodd;}techdegree
Jordan Arce
Front End Web Development Techdegree Student 818 Points

when i try to preview my html it only says index of and shows index.html featured.jpg vr-space.jpg vr-user.jpg

i have saved the file and close my browser a few times already but for some reason it wont show the document like it should in the tab

Can you post your code here for us to review? That will help us isolate the problem more easily.

If you look above the "Post Comment" button below, you'll see a Markdown Cheatsheet button which will show you how to post code like so...

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>

</body>
</html>

3 Answers

Steven Parker
Steven Parker
231,198 Points

It sounds like the files in your workspace got shuffled around. There should be a folder named "img" and those files would normally be inside that folder. And normally that file named "index.html" would be displayed as a page when you connect instead of that index, it sounds like there may be some issue with that file itself.

For more specific assistance, you can make a snapshot of your workspace and post the link to it here.

Steven Parker
Steven Parker
231,198 Points

Excellent. :+1: For the benefit of other readers, what did it take to resolve the issue?

Steven Parker
Steven Parker
231,198 Points

That isn't up to the browser, the decision to show the listing was made at the server. But the fact that the page came up indicates the page itself was OK which makes it even more curious!

I had to do the same.