Learn localStorage by Building a Todo App - Step 19

Tell us what’s happening:

I don’t understand where it need to write the destructured code of ${title}

Your code so far

<p><strong>Title:</strong></p>

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge Information:

Learn localStorage by Building a Todo App - Step 19

Hey @MaryGothic,

If you remember, you can put values of variables into strings like so:

let myName = 'Marcus';
console.log(`Hi, ${myName}, nice to meet you!`);

In the string above the ${myName} variable is exchanged for the value inside the variable at that time. which comes out as:

Hi, Marcus, nice to meet you!

Use that very same method to put the title variable into your paragraph string in a way that makes sense!

2 Likes