Tell us what’s happening:
I need help with this task.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const removeSpecialChars = ((str) => {
str.replace("-+^.:,", s);;
});
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15
Challenge Information:
Learn localStorage by Building a Todo App - Step 67
ILM
2
what do you need help with?
Please Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
I need help defining the function.
ILM
4
what kind of help? please describe using your own words
I need help removing the special characters and to define the function to pass the task.
ILM
6
the function is defined there. what’s going wrong with it? what issues are you having?
I should not remove any spaces.
ILM
8
do you have errors in the console? have you tested the function?
const removeSpecialChars = ((str) => {
str.replace("-+^.:,", s);
});
Sorry, your code does not pass. Keep trying.
Your `removeSpecialChars` should not remove spaces.
ILM
12
what errors do you have in the console? proper errors, not the failures from the tests
ILM
13
you have been using the forum to ask for help for a while. Please describe what is happening, what should happening, and your hypothesis
have you tested the function? what is it returning? what should it return?
do you have syntax errors from the console? have you looked at the console?
I need to get right the regex strings as on my code.
ILM
15
so you have not done any testing? you have not looked at the console?
I can’t do the work for you
It works I need examples or corrections of code to finish task simple!
ILM
17
have you tried calliing your function and checking what it returns?
if you see what your function is returning you can be able to fix it on your own
ILM
18
if you don’t know how to call your function and see what it returns you can say so
I know how to call where is the question?
ILM
20
please call your function with a string that contain spaces so you can check what it returns with console.log