JavaScript now have the Append and Prepend methods which was present in jQuery
The main advantage of append and prepend is unlike appendChild and insertBefore, it can take any number of arguments either HTML element or plain text(which will be converted to text nodes).
To append say 1 div, 1 text ...