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 trialAyesha Ghayas
1,443 PointsMy Workspace preview show "INDEX" why please please help
help please asap
6 Answers
Robert Hughes
7,958 Points"index" is a common name used for the main page of a website.
Robert Hughes
7,958 PointsHave you tried closing that workspace and launching a new one?
Ayesha Ghayas
1,443 PointsYea Many Times, Please Help Me..
Robert Hughes
7,958 PointsCould you post your code? Have you looked at the other forum questions about this lesson?
Ayesha Ghayas
1,443 Pointscode??
Robert Hughes
7,958 PointsWhat is written in your index.html file in your workspace?
Ayesha Ghayas
1,443 Points<!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
7,958 PointsI 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.
Ayesha Ghayas
1,443 PointsSo I have to leave it up to them, Anyway thank you so so much :)
Robert Hughes
7,958 PointsYou're welcome! When things crash for me, I sign out, close my browser, and start again. Hope you find a solution :)
Ayesha Ghayas
1,443 PointsAyesha Ghayas
1,443 PointsMy 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