4.1. Need a dynamic application?Here's the application you'll be building a little later in this chapter. The DOM lets you look at this web page... ...in this format. 4.1.1. Use the Document Object Model.The web browser uses the Document Object Model to represent your web page. When you change this model with your JavaScript code, the web page will automatically change, too. body div div div div img img img img img div Your JavaScript can work with the DOM much easier than working directly with HTML or CSS. |