Part 3. JavaScript in the browser
Up to this point in Get Programming with JavaScript, you’ve been using the console as the way of interacting with your programs. You’ve been able to focus on the JavaScript code. Now it’s time to start using a web page as the user interface, using HyperText Markup Language (HTML) to specify headings, paragraphs, and list items for presentation; and buttons, drop-down lists, and text boxes for user input. You use templates as an efficient way to generate HTML from your data and XMLHttpRequest objects to load extra data for your web pages.
Part 3 shows you how to organize files on your own computer rather than on JS Bin and suggests some next steps as you continue your JavaScript adventure. The Crypt gets an HTML makeover and the ability to load locations one at a time as players explore the worlds you create for them.