🔰create/insert/delete nodes
create:
Document ⟩ .createElement()
insert:
new children:
Element ⟩
.insertAdjacentHTML() - 👉 🗺️ 圖解 ⭐️
.prepend() - insert before the first child.
Node ⟩ .appendChild()
remove/replace:
Element ⟩
Node ⟩ .removeChild()
Last updated