So my goal is to have 5 boxes and every time one box is clicked a new box appears. The code I wrote for that is this:
window.onload = function(){ var boxLis
You will need to add an onclick event to your newly added box.
box.onclick = clickHandler;