How can we make a code using HTML, CSS, PHP, and JavaScript to add an HTML element onclick, and every time we click it just add that element over and over again? -
![Incrementing GetElementByID when ID is dynamic - JavaScript - SitePoint Forums | Web Development & Design Community Incrementing GetElementByID when ID is dynamic - JavaScript - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/original/3X/8/d/8d0bf8f278d134851104b3c770328e4c3364e785.png)
Incrementing GetElementByID when ID is dynamic - JavaScript - SitePoint Forums | Web Development & Design Community
![How can I change the contents of a Div with Javascript? | No JQuery | Javascript & HTML Fundamentals - YouTube How can I change the contents of a Div with Javascript? | No JQuery | Javascript & HTML Fundamentals - YouTube](https://i.ytimg.com/vi/I1fYJlFtkZo/maxresdefault.jpg)
How can I change the contents of a Div with Javascript? | No JQuery | Javascript & HTML Fundamentals - YouTube
![SPFx - How to call function on button click event from ts file with React - SharePoint Stack Exchange SPFx - How to call function on button click event from ts file with React - SharePoint Stack Exchange](https://i.stack.imgur.com/75e0o.png)
SPFx - How to call function on button click event from ts file with React - SharePoint Stack Exchange
![How to hide div element by default and show it on click using JavaScript and Bootstrap ? - GeeksforGeeks How to hide div element by default and show it on click using JavaScript and Bootstrap ? - GeeksforGeeks](https://media.geeksforgeeks.org/wp-content/uploads/20230123115604/gfg.gif)