It doesnt show anything on the browser if I use createElement, but if I previusly add an empty in the HTML and use the code in the comments it works.