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 Variables

is the instructor running some sort of web server on his computer ?

he calls the page by localhost

2 Answers

Gemma Weirs
Gemma Weirs
15,054 Points

Yes he is running a local server. There are quite a few options. If you're on a Mac, you could try MAMP. If you're on Windows, you could try Bitnami, XAMPP or WAMP. I personally use Bitnami on my Win8 laptop since they have proven to be more stable on my machine than any of the others, plus it's easy to setup and forget. Hope that helps.

Kevin Korte
Kevin Korte
28,148 Points

Yes, as Gemma said "localhost" in the URL is evendient he is running a local server on his machine. On my MacBook Pro I run MAMP and on my Windows PC I run XAMPP personally Neither of these applications are the actual server part, they are just applications that bundle together the server software itself, plus usually MySQL, myPHPAdmmin, which are all fantastic tools to have, and so I recommend MAMP and XAMPP.

The most common webserver I'm aware of is Apache.

To work on HTML, CSS, and Javascript (or jQuery) you do not a web server. Pointing your browser URL to your files location will be enough.