Mutation Observer playground
Add DOM node
Remove DOM node
Update node attribute
IMPORTANT: Open your browser's console to see the logs.
Add DOM node
We'll call a callback function whenever any DOM node is added to this page.
Add div
Add h1
Add p
Add span