Learn localStorage by Building a Todo App - Step 52

Tell us what’s happening:

Not sure where I’m getting hung up on, my syntax seems correct.

const formInputValuesUpdated = titleInput.value != currentTask.title || dateInput.value != currentTask.date || descriptionInput != currentTask.description;

Your code so far

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

/* file: styles.css */

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

const formInputValuesUpdated = titleInput.value != currentTask.title || dateInput.value != currentTask.date || descriptionInput != currentTask.description;

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15

Challenge Information:

Learn localStorage by Building a Todo App - Step 52

Hi @brockpaston1234

Your formInputValuesUpdated variable should check if titleInput.value is not equal to currentTask.title, dateInput.value is not equal to currentTask.date, or descriptionInput.value is not equal to currentTask.description.

Check the property of the last condition.

Happy coding

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.