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 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,912 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