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 trialMatthew Clark
7,255 PointsHow is this being hosted in the browser
Hi-
I guess I must have missed it, but he keeps saving it and then showing in the browser. I am working on a windows computer using notepad.
Thanks,
4 Answers
Steven Horowitz
6,966 PointsIn notepad, go to Save As and save your notepad file as "index.html". Then, you will be able to double-click on this file to display your code in your default web browser. To open "index.html" in notepad again, just right-click on the file and select Open With and then Notepad.
Chandler Tayek
5,513 PointsIf you use Google chrome you can just drag your index.html file over to a new tab in the browser. The browser will then display your page(for Google chrome that is).
Matthew Clark
7,255 PointsThanks.
Matthew Clark
7,255 PointsThanks.