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

JavaScript Introduction to Programming Basics Writing Your Program

Benjamin Preston
Benjamin Preston
980 Points

Browser

How does one get to the page in which he is editing the Javascript and HTML?

1 Answer

Hi Benjamin,

Jim is using a text editor in this video to edit the .html and .js files. I think I heard him say he was using textmate. Sublime text is another editor you could use. That one is used in some of the courses here.

You want to make sure that it is a text editor and not a word processor.

So the basic idea is that you will create a folder on your computer where you will place these practice files. Jim is using a local webserver in the video. You'll see that his browser address bar has localhost in it. It's not necessary to run a web server for html/css/javascript so if you don't know how to do this yet then don't worry about it.

Once you have created your html file then you can simply drag that html file onto your browser window and your browser will then be pointed to that local file. Your address bar won't show localhost like Jim's does but it will instead show the file path to your html file. This is ok for now.

Let me know if anything wasn't clear.