Book 4
- Chapter 1: Getting Started in JavaScript
Learn how to transition to programming, and how to use variables
to manage data.
- Chapter 2: Talking to the Page
JavaScript is meant to work in web pages. Learn how to modify the page,
get information from web forms, and change text dynamically.
- Chapter 3: Decisions and Debugging
Programs seem smart because they can make decisions. Learn about
logical branches and loops, and what to do when they go wrong.
- Chapter 4: Functions, Arrays, and Objects
Any interesting program gets complex. Learn to manage this complexity
with functions and arrays. Learn how to build objects for even more
power.
- Chapter 5: Getting Valid Input
It's pretty easy to get input from a form, but it's harder to know if
that information is reliable. Use more sophisticated input elements
like drop-down lists, check boxes, and radio buttons to steer user
input. Learn how regular expressions can be used to test for valid
input, and examine the new HTML5 / CSS3 form validation tools.
- Chapter 6: Drawing on the Canvas
The new canvas tag completely changes the way we do graphics on the
web. Learn how to take control of your browser's drawing features like
never before.
- Chapter 7: Animation with the Canvas
Animation is about managing images and time. Learn to set up an
animation loop, how to transform images, and how to swap images for
amazing special effects.