Removing elements

 box.removeChild(newP);

btn.remove();
btn2.remove();
btn3.remove();
btn4.remove();

Comments

Popular posts from this blog

Callback Hell

TODO list with DOM

Refactoring callback hell code