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 Treehouse Club: HTML Publish a Story What is HTML?

Nicholas Berry
Nicholas Berry
182 Points

I just practiced creating my first webpage but I don't know how to preview it. I can only see the default.

How do I preview my webpage

Filipe Terra
Filipe Terra
965 Points

I just had the same problem. I clicked on Fork Workspaces (by the way I don't know exactly what this button does) and then reopened the file. Only then the Preview worked with my saved changes.

You're right, there's something magical about the forking button. I hadn't been able to get my changes to show up on the preview either, thanks for this suggestion. For more experienced treehouse people: please explain why this works or what the root problem was?

7 Answers

James Calby
James Calby
15,153 Points

If you are using Workspaces. In the Top right hand corner click the Eye and select a port.

You can also open the HTML file. using a web browser. Double-click the file to open it or right-click and select open with and choose any web browser.

Davy Griffiths
Davy Griffiths
3,976 Points

i am having the same issue and neither of these suggestions have resolved the problem! Any other pointers? Thanks :)

Nicholas Berry
Nicholas Berry
182 Points

click file click download workspace The webpage will popup in a new browser window probably under IE.

Jeremy Tyler
Jeremy Tyler
2,343 Points

it seems to not work all the time

Jeremy Tyler
Jeremy Tyler
2,343 Points

it seems to not work all the time

Hey Nicholas, if you're using Workspaces, you might check out Introduction to Workspaces. Otherwise, simply drag the HTML file into a web browser. Welcome to Treehouse.

To see the changes you need to refresh the page.

Jeremy Tyler
Jeremy Tyler
2,343 Points

I did not realize I had to first save, then refresh the site.

Mike Atkinson
Mike Atkinson
6,882 Points

Not sure what you used to write your webpage, but if you browse to the .html file on you computer, you can open it in your web browser (Crome, Internet Explorer, Firefox).

For example, if I made a text file and called it testpage.html, wrote some stuff in it using notepad, I could preview it in a web-browser.

Modesta Naciute
Modesta Naciute
2,462 Points

I noticed an orange dot next to file name (under the manu bar). If I tap CMD+S (Command + Save on Mac), orange dot disappears and then clicking eye shows refreshed content. Hope this helps :)