added a means to add an element to the DOM

Made a trail first attempt at how to add elements to the DOM