I have a JavaScript program that will create an element each time a button is pressed. I use:
var element = document.createElement("div"); elem