Learn localStorage by Building a Todo App - Step 52

Tell us what’s happening:

I don’t understand why this is not working and would also want to confirm if we can use arrohead function of if statement to check these.

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 52

You don’t need the parentheses here. Also, you’re missing the value property in one of your conditional statements. You wouldn’t use arrow syntax here either, because you are not creating a function, only a variable with a Boolean value.