Added notes on inserting and removing elements from the DOM