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:
- Your formInputValuesUpdated variable should check if titleInput.value is not equal to currentTask.title.
- Your formInputValuesUpdated variable should check if titleInput.value is not equal to currentTask.title or dateInput.value is not equal to currentTask.date.
- 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