<button id="add-nodes">Add a node</button>
<button id="set-attribute">Change the color</button>
<button id="reset">Reset</button>
<pre id="log">Mutation type:</pre>
<div id="target"><p>Node #0</p></div>MutationRecord: type property / notebook
MutationRecord: type property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.