Learn localStorage by Building a Todo App - Step 38

/* file: script.js */
// User Editable Region

const updateTaskContainer = () => {
cancelBtn.addEventListener("click", () => confirmCloseDialog.close());

discardBtn.addEventListener("click", () => {
  confirmCloseDialog.close();
  reset()
});

taskForm.addEventListener("submit", (e) => {
  e.preventDefault();

  taskData.forEach(
    ({ id, title, date, description }) => {
        tasksContainer.innerHTML += `
      
    };

// User Editable Region

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!