HTML and CSS Reference
In-Depth Information
A ppendix D
JavaScript
he main focus of this topic 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 API s 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 pro-
grammer even if you've never programmed before, but to teach you
enough syntax that you can recognize what the examples in the topic 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
JavaScript code into your browser and immediately see the results. Most
modern browsers come with a built-in facility for this as part of their
developer tools.
491
Search WWH ::




Custom Search