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 How to Make a Website Creating HTML Content Structure the Image Gallery

Christian Trahan
Christian Trahan
1,806 Points

Using workspaces, how do I view the 'index.html' locally on my machine? Is it 'localhost'?? Thanks CT


3 Answers

Michael Hulet
Michael Hulet
47,881 Points

There should be a button that looks like an eye in the top right of your workspace. It's that button

Miguel Cano
Miguel Cano
5,181 Points

If you'd like to open your project locally (no internet connection) and preserve CSS properties you should:

  1. Download your Project and files (images and CSS included), or create the files, and place them in a folder mantaining the structure you have in your workspace.
  2. Set all your link paths so they match the path to your local folder and files.
  3. Double click index.html