November 2022
Beginner
624 pages
13h 39m
English
In this Chapter
Learn how to find elements in the DOM
Use the CSS selector syntax for cleverer element discovery
As we saw in the previous chapter, our DOM is nothing more than a tree-like structure made up of all the elements that exist in our HTML document (see Figure 28.1).
FIGURE 28.1
Yep. Looks like a tree-like structure alright!
That detail is only sort of important. What is important is that you have all of these HTML elements floating around that you want to access and read data from or modify. There are many ways to find these HTML elements. After all, these elements are arranged in a tree-like ...
Read now
Unlock full access