Build a Todo App using Local Storage - Step 34

Tell us what’s happening:

I tried using many ways. I dont know what is the issue

Your code so far

<!-- file: index.html -->

/* file: styles.css */

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

closeTaskFormBtn.addEventListener("click", () => {
  
  confirmCloseDialog.showModal();
  const formInputsContainValues = titleInput.value || dataInput.value || descriptionInput.value
  
});

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

Build a Todo App using Local Storage - Step 34

dataInput.value

Just a typo here.

1 Like