The removeChild () method removes a specified child node of the specified item.
The insertBefore () method inserts a node as a child, just in front of an existing child you specify.
The appendChild () method adds a node to the end of the child elements of a specified parent node.
The CreateTextNode () method creates a Text Node that contains the specified text.
html, css and js
Sometimes, when you create a web page, you may want to execute a piece of code when someone triggers a particular type of activity on your website