Learn localStorage by Building a Todo App - Step 49

To resolve the issue, wrap the data you’re saving in the JSON.stringify() method. Then, check local storage again to observe the results.

Well, I’ve literally “wrapped” the “data”, in accordance with the instructions but the instructions are too confusing. Hours later, I finally found the answer, but please stop implying beginner coders actually know what we’re doing. We don’t.

localStorage.setItem(JSON.stringify("data"), myTaskArr);


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/

Challenge Information:

Learn localStorage by Building a Todo App - Step 49
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-localstorage-by-building-a-todo-app/step-49`Preformatted text`

I don’t think anyone who wrote these projects thinks beginners have mastered the material. If you can be more specific about how the instructions are confusing, then they can possibly be updated.