I was always under the impression that rather than touching the DOM repeatedly, for performance reasons, we should use a documentFragment to append multiple element
documentFragment