+ 1
Create a button that creates a button that creates a button....
I'm failing to create a web app that starts with a div that containes a button which when cliced creates the exact same div with another button which when clicked creates the div again with the button etc... The button on the first div is already programmed to create infinetely other divs, but I can't make the newly created button create the same divs https://code.sololearn.com/WTrwUD5W0Ipk/?ref=app
5 Réponses
+ 2
Rigon Kurteshi I changed the code a little bit ,if you don't understand something let me know
https://code.sololearn.com/WcAFt1S44Z1M/?ref=app
+ 1
Abhay Brilliant thank you, it works the way I intended.
0
So where is the code that you need help with?
0
Abhay here is the code thanks. The first button already can create infinetely many other divs with buttons, but I cant make the newly created buttons create another div