In this chapter, we explored the DOM specification by learning about its base interfaces, its properties, and its methods. We learned about the relationship between the HTML you write and the tree the browser generates from it. We queried the DOM and navigated the DOM tree. We learned how to create new elements, add them to the tree, and manipulate existing elements. Lastly, we learned how to use Shadow DOM to create isolated DOM trees and custom components that can be easily reused in HTML pages.
In the next chapter, we'll switch gears to the backend world. We'll start learning about Node.js and the basic concepts around it. We'll go through how to install and manage multiple versions of Node.js using nvm, and last but not least, we'll also learn about npm and how to find and use external modules.