Build a Todo App using Local Storage - Step 51

Tell us what’s happening:

Hello,

I’m stuck with step 51 here and can’t see what’s going on. I’ve even copy/pasted the code from another successful solution on here but it still won’t pass. Am I missing something really obvious?

  1. Your formInputValuesUpdated variable should check if titleInput.value is not equal to currentTask.title

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

Thanks!

/* file: script.js */


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

  


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:139.0) Gecko/20100101 Firefox/139.0

Challenge Information:

Build a Todo App using Local Storage - Step 51

do not go to a new line