Room 51

Room 51 is the personal site of John Larsen, a maths teacher, web developer and author of Get Programming with JavaScript.

Latest Tutorial: Generating Random Lines with the Desmos API

Desmos is a web-based graphing calculator. It provides an API for embedding the calculator in your own web pages. In this tutorial, you build an app that generates random straight lines at the click of a button.

Desmos screenshot - a straight line and two points

To create the line generator app, you'll follow these steps:

  1. Import the Desmos API script
  2. Use a div element as a container for the calculator
  3. Create a blank calculator on the page
  4. Add expressions for the calculator to draw
  5. Link the Next button with a function that generates a straight line

Start the tutorial: Generating Random Lines with the Desmos API

Get Programming with JavaScript

Get Programming with JavaScript

Published August 2016

Get Programming with JavaScript is available to buy from Manning, Amazon or any book store of your choice!

Buy now at Manning.com

Buy now at Amazon.co.uk

Get Programming with JavaScript is a practical introduction to programming. Through hands-on code samples coupled with carefully paced explanations, supporting video tutorials and a wide variety of examples, it will help you build knowledge and skills and set you on your way to coding expertise.

Further Learning

Get Programming with JavaScript is a great introduction to programming and programming with JavaScript. Once you've got a solid grasp of the fundamentals, you'll want to keep learning!

Courses by Wes Bos

Wes Bos has created some fantastic video courses to take your JavaScript skills to the next level:

ES6 for Everyone

React for Beginners

And to hone your text editing skills, here's his Sublime Text book:

Sublime Text for Power Users

There are lots of good JavaScript books to guide you on further programming adventures.

Books from Manning

Manning publish a number of intermediate and more advanced JavaScript books:

Secrets of the JavaScript Ninja

Functional Programming in JavaScript

JavaScript Application Design

And to hone your server-side JavaScript skills:

Node.js in Action

Express in Action

Manning often issue promotional discount codes, so it's worth watching their site for deals and following their accounts on Twitter. If you're in the UK and don't fancy the shipping costs from the US, you might choose to shop at Amazon.co.uk:

Books on Amazon.co.uk

Next steps, intermediate and more advanced JavaScript books:

Eloquent JavaScript

Professional JavaScript for Web Developers

Secrets of the JavaScript Ninja

Functional Programming in JavaScript

JavaScript Application Design

And to hone your server-side JavaScript skills:

Express in Action