Learn localStorage by Building a Todo App - Step 68

Tell us what’s happening:

what am i missing here?

  1. You should call removeSepcialChars on titleInput.value when assigning the id.

const taskObj = {
id: removeSpecialChars(titleInput.value),
title: removeSpecialChars(titleInput.value),
date: dateInput.value,
description: removeSpecialChars(descriptionInput.value)
};

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(descriptionInput.value)
  };

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 68

you should not remove the code predent there for the id, you may need to reset the step

Could you be a bit more specific of what to “remove” from the predent?
ive been sitting here on this and kinda dont know why only id is so special ?
thanks and looking forward to your reply in return.

please ignore this request.
I kinda solved it on accident.
thanks again.

Hello there coder! can you give the the hint o f step 68 to do app i have been strugling for several days?
thank you.

hi @thibok51811 , please open your own topic to ask for help

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.