Glossary: JavaScript in the Browser
append, prepend, before, after, remove, replaceChildren
Also written: append, prepend, before, after, remove, replaceChildren
Methods that put nodes on the page or take them off. append and prepend add children at the end or start, before and after add siblings, remove deletes an element, and replaceChildren swaps in all new children at once.