Tell us what’s happening:
I am not sure what to do as per this instruction.
Step 17
There is one last thing you will need to do to make this id unique.
But first, place the entire value below inside an embedded expression ${}.
Example Code
titleInput.value.toLowerCase().split(" “).join(”-")
Then wrap that value in template strings.
In the next step, you will add a unique number to the end of the id value to make it truly unique.
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
const taskObj = {
[`${titleInput.value.toLowerCase().split(" ").join("-")}`]
// 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/131.0.0.0 Safari/537.36
Challenge Information:
Learn localStorage by Building a Todo App - Step 17