The video discusses the ways to modify a DOM node element. We can create an element node in JavaScript, and then insert HTML code in the node. We can append or prepend some text on a node, we can insert new HTML code around a given node. Notice that a node can be put at one location only. We can also remove a node or just move it to other places. Finally, we can clone a node and change its text content, followed by putting it elsewhere.
1:22 - Create a node
2:43 - Insert a node or string in a node (before, after, append, prepend, replaceWith)
11:09 - Insert HTML code using insertAdjacentHTML (beforebegin, beforeend, afterbegin, afterend)
15:18 - Remove a node
16:23 - Move a node
18:09 - Clone a node
Playlist of my JavaScript course
• [20 hours] JavaScript tutorial for be...
Playlist of my HTML5 and CSS3 tutorials
• [12 hours] HTML and CSS tutorials for...
Playlist of my algorithm walkthrough
• Algorithms and data structures | DSA ...
Playlist of my Java course
• [14 hours] Java tutorial for beginner...
Playlist of my Java examples
• Java projects for beginners | Java pr...
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #createnode #clonenode, #insertadjacenthtml
On this page of the site you can watch the video online Modify DOM elements - Basic JavaScript Fast (53) | createNode, cloneNode, insertAdjacentHTML with a duration of hours minute second in good quality, which was uploaded by the user Begin Coding Fast 19 November 2023, share the link with friends and acquaintances, this video has already been watched 40 times on youtube and it was liked by 2 viewers. Enjoy your viewing!