Build a Todo App using Local Storage - Step 51

Tell us what’s happening:

These tests fail but i don’t understand why. Other posts said to write all in one line, and i already do:

  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.
  3. 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.

Your code so far

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

/* file: styles.css */

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

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

// 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/148.0.0.0 Safari/537.36 Edg/148.0.0.0

Challenge Information:

Build a Todo App using Local Storage - Step 51

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-todo-app/64fb1c4dc0feb219149a7c7d.md at main · freeCodeCamp/freeCodeCamp · GitHub

the tests are expecting titleInput.value to come first in the comparison

that was it! Thanks
In my own tests i tried inverting only one of the three comparisons and tests results didn’t change so i thought it wasn’t important