December 2019
Beginner
464 pages
10h 31m
English
In This Chapter
• Understand how easy it is to use JavaScript to create DOM elements from nothing
• Learn how to clone existing DOM elements as well as remove DOM elements you no longer want
This part may blow you away. For the following sentences, I suggest you hold onto something sturdy:
Despite what our earlier discussions about the DOM may have led you to believe, our DOM does not have to be made up of HTML elements that exist in markup. We have the ability to create HTML elements out of thin air and add them to our DOM using just a few lines of JavaScript. We also have the ability to move elements ...