Adding HTML elements on click of a button
When I was working on my college project, I wanted to add textfields on click of a button, at first, I used innerHTML=”…” for doing that, but it didn’t work and I did it like this(credits to Ashish Shukla ):