The following code:
let form = document.getElementsByTagName('form')[0];//<form></form>
for(let item of form){
form.insertAdjacentHTML('beforeend','<button>1</button>');
}
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
The following code:
let form = document.getElementsByTagName('form')[0];//<form></form>
for(let item of form){
form.insertAdjacentHTML('beforeend','<button>1</button>');
}