9  DOM Programmingwith JavaScript

This chapter shows you how to add JavaScript to CSS and HTML. By the end of the chapter, you will have created a fully functioning application with interactive controls.

Images  How Does JavaScript Communicate with the DOM?

The DOM (Document Object Model) contains a collection of JavaScript properties and methods that allows you to manipulate HTML elements and to write code that responds to user-invoked actions such as mouse clicks and form submissions. Typically, when writing an application, you want to ask yourself two things. The first is, what do you want or expect the user to do? The second is, what should happen ...

Get JavaScript for Sound Artists 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.