Learn localStorage by Building a Todo App - Step 52

Tell us what’s happening:

Task is to create a variable that checks if certain conditions are true.What is wrong?

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.description||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/135.0.0.0 Safari/537.36 Edg/135.0.0.0

Challenge Information:

Learn localStorage by Building a Todo App - Step 52

You have inconsistent formatting here, which can make it trickier to spot typos, but you definitely should not have a space in titleInput .value:

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

Also this condition isn’t quite right:

dateInput.value !==currentTask.description

This formatting is so bizarre, it doesn’t seem to be written by a human. But it’s also so inconsistent it doesn’t seem to be written by a machine…

Same thing in this previous post:
https://forum.freecodecamp.org/t/learn-localstorage-by-building-a-todo-app-step-36/742102/11?u=pkdvalis

@zm17jaga Can you explain a bit the bizarre formatting of your code?

Do you remember this advice?