Learn localStorage by Building a Todo App - Step 67

Tell us what’s happening:

I really ask for your help, I tried different options, but I still don’t understand what exactly they are asking for

Your code so far

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

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

const removeSpecialChars = (str) => {
  str.replace(/"/g, '');
}

// User Editable Region
/* file: styles.css */

Your browser information:

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

Challenge Information:

Learn localStorage by Building a Todo App - Step 67

Hi. You need to remove all special characters. Did you do the Palindrome checker? You had to remove all non alphanumeric characters in that task, so that should work.

Hi, it seems like you should remove all special characters, so you can create a regex for all characters that are not letters (uppercase or lowercase) or numbers, read about that

Try to use .replaceAll method as well, because you need to find all of them

Think about returning your result from the function

Have fun

Thank you very much, your comment and the comment above helped me solve the problem!

1 Like

Thank you very much!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.