Build a Todo App using Local Storage - Step 67

Tell us what’s happening:

hey everyone hope u all r fine. I am facing an error the last requirement says that i should call the removeSpecialChars on the titleInput.value and i did exactly the same , but still somehow it wont pass the test . Need your help fixing the bug . Thanxxx

Your code so far

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

/* file: styles.css */

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

  const taskObj = {
    id: `${removeSpecialChars(
    titleInput.value.toLowerCase().split(" ").join("-")
  )}-${Date.now()}`,
    title: titleInput.value,
    date: dateInput.value,
    description: 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/147.0.0.0 Safari/537.36

Challenge Information:

Build a Todo App using Local Storage - Step 67

hello!

You should call removeSpecialChars() only for titleInput.value. Also write this in a single line.

oh i see . thnksss broo it did help.