Learn localStorage by Building a Todo App - Step 13

Tell us what’s happening:

Hi there, trying to add an id property and im pretty sure this is how you are supposed to do it. If anybody can take a look and just tell me if im going crazy :slight_smile:

Your code so far

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

/* file: styles.css */

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

  const taskObj = {
  id : titleInput.value
  };
  console.log(taskObj);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0

Challenge Information:

Learn localStorage by Building a Todo App - Step 13

There should be no empty space between the key id and :