I am adding the new task using following javascript code:
function addTask(name, important){ alert(important); const newTask = {id: "to