Learn localStorage by Building a Todo App - Step 51

Tell us what’s happening:

it keeps giving an error message and i dont know why

Your code so far

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

/* file: styles.css */

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

const formInputValuesUpdated = (
    
    (currentTask && titleInput.value !== currentTask.title) ||
    (currentTask && dateInput.value !== currentTask.date) ||
    (currentTask && 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/137.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 51

I don’t think the tests are liking this…

you need to have the whole expression on a single line, with no unnecessary parentheses

If you combine the two previous replies you got, you will solve that step:

  1. Remove 'currentTask && ’ at the beginning of every line,
  2. Remove (all) the parentheses.