21. JS, The Browser, and The DOM
In This Chapter
• Learn how JavaScript and the rest of your page interact
• Understand what the fuss about the Document Object Model (DOM) is all about
• Figure out the fuzzy boundaries between HTML, CSS, and JavaScript
So far, we’ve looked at JavaScript in isolation. We learned a lot about its basic functionality, but we did so with little to no connection with how it ties to the real world—a world that is represented by your browser and swimming with little HTML tags and CSS styles. This chapter will serve as an introduction to this world, and subsequent chapters will dive in much deeper.
In the following sections, you will learn about the mysterious data structure and programming interface known as the
Get JavaScript Absolute Beginner’s Guide now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.