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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.