Appendix D. JavaScript

The main focus of this book is HTML5 and CSS3, but to take full advantage of many of the features of these two technologies you’ll end up using JavaScript quite a lot. The APIs in HTML5 are accessible through JavaScript, and the techniques you’ve seen for detecting HTML5 and CSS3 support depend on JavaScript.

The goal of this appendix isn’t to teach you to be a great JavaScript programmer even if you’ve never programmed before, but to teach you enough syntax that you can recognize what the examples in the book are trying to do and enough practical knowledge that you can experiment on your own to learn more.

Setting up an interactive console

In this appendix, you’ll learn by doing. To do that, you need a way to type ...

Get Hello! HTML5 & CSS3: A user-friendly reference guide now with O’Reilly online learning.

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