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 How to Make a Website HTML First Build Structure

My Workspace preview show "INDEX" why please please help

help please asap

6 Answers

Robert Hughes
Robert Hughes
7,958 Points

"index" is a common name used for the main page of a website.

My Preview starts like this

Index of /

../ Index.html 21-Dec-2014 15:45 627

I have to click on Index.html to preview my work

Robert Hughes
Robert Hughes
7,958 Points

Have you tried closing that workspace and launching a new one?

Yea Many Times, Please Help Me..

Robert Hughes
Robert Hughes
7,958 Points

Could you post your code? Have you looked at the other forum questions about this lesson?

code??

Robert Hughes
Robert Hughes
7,958 Points

What is written in your index.html file in your workspace?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ayesha Ghayas | Designer</title> </head> <body> <header> <a href="index.html"> <h1>Ayesha Ghayas</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="Index.html">Portfolio</a></li> <li><a href="About.html">About</a></li> <li><a href="Contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> </ul> </section> <footer> <p>© 2014 Ayesha Ghayas.</p> </footer> </body> </html>

Robert Hughes
Robert Hughes
7,958 Points

I have tried your code in a workspace and it works.

I have seen someone with a similar problem here: https://teamtreehouse.com/forum/the-preview-window-is-giving-me-error-for-index-what-am-i-doing-wrong

and it says that Treehouse support resolved their issue.

So I have to leave it up to them, Anyway thank you so so much :)

Robert Hughes
Robert Hughes
7,958 Points

You're welcome! When things crash for me, I sign out, close my browser, and start again. Hope you find a solution :)