Learn localStorage by Building a Todo App - Step 17

Tell us what’s happening:

i just wanted to let the powers that be at FCC know that the example provided has nothing of value to aid, assist or explain the necessary solution. since this is beta i assume you would appreciate the feedback

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 17

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

1 Like

what do you mean that it doesn’t help? you need to use it in the final solution, but you also need to use a template literal with interpolation too, and it’s written that you need to do so

But first, place the entire value below inside an embedded expression ${} .
Then wrap that value in template strings.

I think the confusion is that the code is labelled “Example code” but it should just have been placed in backticks without that label.

good to know. thank you

  1. Place entire value below inside an embedded expression ${}
    – example code does not demonstrate how to do that!

  2. then wrap that value in template strings
    – example code does not demonstrate how to do that!

maybe it’s perfectly explained and I’m just dense. but i don’t see how the Example Code in the box addresses the challenge. What am I missing?

imagine the words Example Code are erased for a second.

Now read the instruction again:

…place the entire value below…

This statement is referring to the box below it. They want you to place it in an embedded expression. You’re confused because it is labelled “Example Code”.

I suggest you open a github issue for this and point them back to this forum topic (include a link to this).

Ideally they should put the code in backticks so that it is not labelled as “Example Code” but just looks like a block of text in a highlighted area.

1 Like

template literals and string interpolation have already been introduced and amply used, if you have issues with them I suggest a little detour to review them

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.