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

Intro to Programming-- writing your program video skipping a step

First off-- I'm working on a mac and I'm using Google Chrome.

As soon as Writing Your Program begins, it seems Jim missed a couple of steps with localhost and the text editor.

I receive an error when I insert localhost into my browser. It says "This webpage is not available"

Instead of TextMate, I created the html and js files in Sublime.

I'm guessing there's a disconnect between my files and the browser but I have no idea what the issue is.

1 Answer

Hi Raven,

Jim is using a local development set-up, which is used to have a server on your computer, but you don't need one for JavaScript. Just click the file and it should open in Chrome.