A To-Do app lets users add, delete, and mark tasks. It is a great way to practice DOM manipulation and local storage.
let tasks = [];
function addTask(task){
tasks.push(task);
renderTasks();
}
function renderTasks(){
document.getElementById("list").innerHTML = tasks.join("<br>");
}