Chapter 2. Foundation JavaScript

In this chapter we delve into the realm of JavaScript. We review its history and the differences with its implementation. We also look into the jQuery code library and how it can save us a lot of time. The rest of the chapter is dedicated to learning the fundamental features of JavaScript, including everything you'll need to know to create amazing games in HTML5 canvas. I';m not going to lie, this is a big chapter; but it's all explained in as much detail as possible to help make your transition into JavaScript an easy one.

An overview of JavaScript

In Chapter 1 we stumbled across JavaScript. Now, we know it's a scripting language, but what exactly is it? And, what does it do? I'll answer those questions and others ...

Get Foundation HTML5 Canvas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.