Build a Todo App using Local Storage - Step 51

Tell us what’s happening:

solve these problem. Give me correct solution prob

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.date ||
    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/136.0.0.0 Safari/537.36

Challenge Information:

Build a Todo App using Local Storage - Step 51
https://www.freecodecamp.org/learn/full-stack-developer/workshop-todo-app/step-51

Sharing full working solutions is against the forum rules.

Why don’t you tell us how you are stuck in solving this step?

1 Like

Your response to another learner suggests that the problem is that the condition should all be on one line—I had the same problem here. I went looking for the actual thing being tested for, and WOW it’s way too literal. Test conditions from Github Could the test be re-written to approve “code that works” instead of “specific code”? I suggest a series of asserts with different values for each variable.

To @ans701474 : use a single line, but you’re also missing something that you’ll spot immediately as you condense it to one line.

that looks like a suggestion that should go in github, please open an issue over there

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.