Mozilla Interview Question

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