Mozilla interview question

Add functionality to a TODO snippet in vanilla JS. Functions: add todo; delete todo