Updated todo-list example: Added localstorage