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

Getting weird display when i click preview on my workspace in the web design track

One day the preview worked fine and i hadn't changed my code at all and when i clicked on preview the next day, this has been coming up instead of my web page.

This is what appears on my preview screen:

Index of/

 DS store
 css/
 img/

I have copied all my html and css over into sublime and opened it in a browser that way and my web page appeared normally.

1 Answer

Make sure your file names are still the same and saved in the right class.

Thanks, i had just went back in and looked at my files and realized at some point i had put my html file inside my css folder, moved it back out, problem solved. Thanks again!