JavaScript Step68

Hello everyone,

I couldn’t find the mistake in this code. I could only find that they add this property at the end of the code with (); however, the first task of embedding the specific properties makes the situation sweaty for me. If somebody comments on the issue when clarifying the reasons, he will save my hours.

Thanks in advance, happy coding!

const taskObj = {
    id: `${removeSpecialChars(titleInput.value).toLowerCase().split(" ").join("-")}-${Date.now()}`,
    title: titleInput.value.removeSpecialChars();
    date: dateInput.value,
    description: descriptionInput.value.removeSpecialChars();
  };

You should call removeSpecialChars function on the title and description properties the same way you did here:

Also, since taskObj is an object, each key-value pair should be separated by commas , not semicolons ;.

For future topics, please use the Help button on the step you’re stuck on, as it will provide a link to the specific step.

Please post the link to the Step you are working on.