Learn localStorage by Building a Todo App - Step 66

Tell us what’s happening:

Hello, I have met the trouble in the last step,could anyone help me?Thankyou!!!

Your code so far

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

/* file: styles.css */

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

  const taskObj = {
    id: removeSpecialChars(titleInput.value),
    title: removeSpecialChars(titleInput.value),
    date: dateInput.value,
    description: removeSpecialChars(titleInput.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 Edg/136.0.0.0

Challenge Information:

Learn localStorage by Building a Todo App - Step 66

Hi there,
It looks like you’ve done more than the lesson asks. Please reset the current step and only follow the instructions:

Call removeSpecialChars on the title, and description properties in your taskObj. For the id property, only call it on the titleInput.value part of the property value.

Avoid modifying anything else beyond these calls. This will help pass the lesson smoothly.