DEV Community

Discussion on: How to make your to-do list editable with basic JavaScript

Collapse
dannyengelman profile image
Danny Engelman

No need for prepend() and remove()
Modern browsers (everything but IE) support .replaceWith

developer.mozilla.org/en-US/docs/W...

Collapse
gabriellend profile image
Gabrielle Davidson Author

Cool, cool, didn't know that, thanks!