Learn localStorage by Building a Todo App - Step 51

Tell us what’s happening:

Hi,

This is my code:
const formInputValuesUpdated =
titleInput.value !== currentTask.title ||
dateInput.value !== currentTask.date ||
descriptionInput.value !== currentTask.description;

I am not sure where I am going wrong.

Look forward to your replies.

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.value !== 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/136.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 51

put it all on the same line

if you think your code should pass you can report this as a bug by opening a github issue

Thanks. It worked. I did what you said and it worked.