# Https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-localstorage-by-building-a-todo-app/step-6

**URL:** <https://forum.freecodecamp.org/t/https-www-freecodecamp-org-learn-javascript-algorithms-and-data-structures-v8-learn-localstorage-by-building-a-todo-app-step-6/685030>\
**Category:** General\
**Created:** [April 12, 2024, 11:38am UTC](https://forum.freecodecamp.org/t/https-www-freecodecamp-org-learn-javascript-algorithms-and-data-structures-v8-learn-localstorage-by-building-a-todo-app-step-6/685030 "2024-04-12T11:38:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![agnerage](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/agnerage/32/359204_2.png) [@agnerage](https://forum.freecodecamp.org/u/agnerage)\
**Post date:** [April 12, 2024, 11:38am UTC](https://forum.freecodecamp.org/t/https-www-freecodecamp-org-learn-javascript-algorithms-and-data-structures-v8-learn-localstorage-by-building-a-todo-app-step-6/685030/1 "2024-04-12T11:38:21Z")

</div>

please i just can find the error  
i tried all the variations in the code

my line

openTaskFormBtn.addEventListener(“click”, (taskForm.classList.toggle(“hidden”) =\>{});

---

<div class="post-metadata">

**Author:** ![agnerage](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/agnerage/32/359204_2.png) [@agnerage](https://forum.freecodecamp.org/u/agnerage)\
**Post date:** [April 12, 2024, 11:40am UTC](https://forum.freecodecamp.org/t/https-www-freecodecamp-org-learn-javascript-algorithms-and-data-structures-v8-learn-localstorage-by-building-a-todo-app-step-6/685030/2 "2024-04-12T11:40:54Z")

</div>

oh… ok i was put in outside the curly braces… i solved it

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [October 11, 2024, 11:41pm UTC](https://forum.freecodecamp.org/t/https-www-freecodecamp-org-learn-javascript-algorithms-and-data-structures-v8-learn-localstorage-by-building-a-todo-app-step-6/685030/3 "2024-10-11T23:41:05Z")

</div>

Closed on October 11, 2024, 11:41pm UTC

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