larevolucia / task-wrangler

Simple motivational To-Do app built using HTML, CSS, and JavaScript
0 stars 0 forks source link

CloseModal can't access form container #19

Closed larevolucia closed 1 week ago

larevolucia commented 1 week ago

CloseModal function was not closing the form container.

This is due the form container being a local declaration rather than global one.

larevolucia commented 1 week ago

Fixed on Commit 63fa163 by making the formContainer a global variable