Introduction
In the first chapter, we covered many of the new and powerful features that were released in ES6. We discussed the evolution of JavaScript and highlighted the key additions in ES6. We discussed scope rules, variable declaration, arrow functions, template literals, enhanced object properties, destructuring assignment, classes and modules, transpiling, and iterators and generators.
In the second chapter, we covered JavaScript's asynchronous programming paradigms. We discussed the JavaScript event loop, callbacks, promises, and the async/await syntax. This chapter prepared us to apply the material from Chapter 1, Introducing ECMAScript 6 and write powerful asynchronous programs.
In this chapter, we will learn about the Document Object Model (DOM) and the JavaScript Event object. In the first topic, we will define the Document Object Model and explain DOM chaining, navigation, and manipulation. Then, we will explain the JavaScript event object and show how to interact with and handle...