Learn localStorage by Building a Todo App - Step 34

Tell us what’s happening:

Why is the .value key requested in the prompt, the question doesn’t ask for it…

Your code so far

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

/* file: styles.css */

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

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 34

Hi @booleanmethod9

To begin, within the closeTaskFormBtn event listener, create a formInputsContainValues variable to check if there is a
value <<<
in the titleInput field or the dateInput field or the descriptionInput field.

Happy coding