Learn localStorage by Building a Todo App - Step 18

Tell us what’s happening:

Your code so far

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.

const div = document.createElement("div");
  div.classList.add("task");
  div.id: ${id} 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 18

I am confused with this step. I have tried everything and can’t seem to figure this out.

It might not be crystal clear, but the instructions are asking you to create the div element in the template string you started in the previous step:

(tasksContainer.innerHTML += `
          
`)

You are creating it there, in between the back ticks.

I was able to get it figured out. Thanks!

2 Likes

how did you solve it. I’m getting frustrated :sob: Since yesterday.

Welcome to the community @jared.namayi !

Please create your own post using the Help that appears after three failed attempts?

This will allow you to post the complete code, along with your questions and you can provide any error messages, if any, received for the code.

It will allow the community to help provide guidance to a resolution for the problem with your code.

Wishing you good progress!