Calling the createElement and insertAdjacentElement methods can often be faster than calling the insertAdjacentHTML method.
Click the buttons to see the difference in performance.