Learn localStorage by Building a Todo App - Step 52

Tell us what’s happening:

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

it just keeps saying "Your ‘formInputValuesUpdated’ variable should check if ‘titleInput.value’ is not equal to ‘currentTask.title’.

And same thing for the other three conditions.

I have been stuck here for like 3-4 days, pls I need a solution to this.

Your code so far

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

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

  const formInputValuesUpdated = () => {
  titleInput.value !== currentTask.title || 
  dateInput.value !== currentTask.date || 
  descriptionInput !== currentTask.description};

// User Editable Region
/* file: styles.css */

Your browser information:

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

Challenge Information:

Learn localStorage by Building a Todo App - Step 52

Hi there,

You don’t have to put your condition inside an arrow function.
Delete () => {} and your code will pass.

Hi @CoderZENNXX

In addition to @toan , the following condition is missing a property.

Also, place all the conditions on a single line.

Happy coding