Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Not seeing what im coding when i preview

I am putting the code in the workspace exactly as instructed but when I do the preview it just says Index of ../ Index.html

What am I am I doing wrong?

2 Answers

lordcozycat
lordcozycat
11,940 Points

This is an annoying thing, but easily fixed! Just rename your "Index.html" to all lowercases, and you should be good to go. Workspaces only recognize HTML files named exactly "index.html", and will show you the document tree if that file doesn't exist. Otherwise, you can simply click on the hyperlinked "Index.html" to navigate to that page.

Gracias mi Amiga!!

Joe Dayvie
Joe Dayvie
11,956 Points

Hello,

Make sure the document you created is actually saved as index.html and not just index. What did you name the file exactly?