Learn localStorage by Building a Todo App - Step 25

Tell us what’s happening:

I have a small question here,
why doesn’t the code work?
since I opened a


and a element, can someone please help me?

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

        <p><strong>"Title:" ${title}</p></strong>

// User Editable Region

Your browser information:

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

Challenge Information:

Learn localStorage by Building a Todo App - Step 25

Your closing tags are swapped.

The first you open, the last you close.
The last you open, the first you close.

Example:

<p> <span></span> </p>

This way there is <span> element with its opening and closing tags inside another <p> element.


And remove the double quotes around your Title:

1 Like

boa yes make sense :slight_smile:
the point is that the requirement is formulated strangely and I didn’t understand it well