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

CSS How to Make a Website Adding Pages to a Website Style New Pages

Yusuf Salaam
Yusuf Salaam
1,748 Points

When I preview my program a wierd dialog is appearing

When I click the preview button in workspace the following dialog appears with links to my site.

Index of /

../ css/ 04-Dec-2014 12:56 - img/ 24-Nov-2014 17:07 - Index.html 19-Dec-2014 13:13 2263 about.html 17-Jan-2015 16:30 1214

1 Answer

Hey Yusuf Salaam,

You should change your capital I in "Index.html" file to a lowercase "i" as "index.html". When you preview a workspace, it looks for "index.html", as almost every other server does (case sensitive), and if it doesn't find that exact naming of page, it defaults to a directory listing like you're seeing. And since you have it labeled as "Index.html", it can't find that file. That will solve your problem.