+ 6

Is there any way to recreate a removed element using remove()method?

13th Nov 2019, 11:09 AM
Shreyansh
Shreyansh - avatar
2 Answers
+ 3
// See my code, that is my best resolution https://code.sololearn.com/W27q55ydVXJC/#html
18th Nov 2019, 11:29 AM
JĂ´natas Araripe
JĂ´natas Araripe - avatar
+ 2
If you have difficulty understanding the code, say I'll do my best. I have already used direct ID referencing to simplify code writing, but can replace it with "document.getElementById" or equivalents.
18th Nov 2019, 11:35 AM
JĂ´natas Araripe
JĂ´natas Araripe - avatar