Creating an instance of a custom element and attaching it to a parent element, and attaching that to the DOM. Monitor when the connectedCallback and disconnectedCallback functions get called.