Learn localStorage by Building a Todo App - Step 16

Tell us what’s happening:

Step 16
Now that your id is an array of words, you can use the join method to turn the result back into a string. For the separator, use a hyphen(-).

I implemented what i was given but it’s still saying i am wrong. Please help me out.

Your code so far

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

/* file: styles.css */

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

    id: titleInput.value.toLowerCase().split(" ").join("-");


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Learn localStorage by Building a Todo App - Step 16

remember you are writing the property of an object. Do you use semicolons there?

Oh, thank you. I got where I was wrong now.