Page editing itself | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Page editing itself

can someone explain the behaviour of programm after clicking the "execute" button? Why the button disappeares? https://code.sololearn.com/WyccKnd8Koob/?ref=app

2nd Apr 2018, 2:42 PM
Amadeus
Amadeus - avatar
1 Answer
+ 3
try this... controled.outerHTML = controler.innerText;
2nd Apr 2018, 2:55 PM
Damyan Petkov
Damyan Petkov - avatar