Todo list example application using JavaScript