I am on ‘Learn localStorage by Building a Todo App’
These are the instructions:
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 ${}.
Then wrap that value in template strings.
Then the code below is what i have come up with but it is still not correct
const taskObj = {
${titleInput.value.toLowerCase().split(" “).join(”-")}-${Date.now()}; };
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
const taskObj = {
`${titleInput.value.toLowerCase().split(" ").join("-")}-${Date.now()}`;
// 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