learning by developing a javascript todo-app