Tell us what’s happening:
I do not understand why my code isn’t working, if someone can explain it to me please.
Error : You should create a div element with the class task. Your div element should have the id ${id}.
Your code so far
taskData.forEach(({id, title, date, description}) => {
(tasksContainer.innerHTML += `
<div id=${id} class="task"></div>
`)
}
);
Challenge Information:
Learn localStorage by Building a Todo App - Step 18