Build a Todo App using Local Storage - Step 34

Tell us what’s happening:

Please explain what am I doing incorrectly. Thanks a lot!

Your code so far

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

/* file: styles.css */

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

closeTaskFormBtn.addEventListener("click", () => {
  
  const formInputsContainsValues = titleInput.value || dateInput.value || descriptionInput.value

  if (formInputsContainsValues) {
    confirmCloseDialog.showModal();
  }
});

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

Challenge Information:

Build a Todo App using Local Storage - Step 34

The instructions ask for a variable named formInputsContainValues. Is that what you have here?

1 Like