Learn localStorage by Building a Todo App - Step 57

Tell us what’s happening:

The code here does what the question asks for, but it doesn’t work. There is not much documentation on this question in the forum…

Your code so far

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

/* file: styles.css */

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

const getTaskArrObj = JSON.parse(localStorage.getItem("Data"));
console.log(getTaskArrObj);

// 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 57

Hi!
You aren’t using the data in the getItem(). Instead you have Data.