Mutation Observer Example
This is a working example of using the MutationObserver API to listen to changes in an DOM element's attributes.
Clicking the button triggers a change and in turn MutationObserver
will notice the change.
Logs available in the console.