Observing the addition of child nodes

In this example, clicking the Add a node button adds another paragraph element node to the document tree. Open the developer console to see what each mutation record reports.