DEV Community

Discussion on: How to Make a Todo List using JavaScript

Collapse
 
mathiashidalgo profile image
Mathias Hidalgo Caja

Hello, i have a question. Why when i put a task, the page refresh, and dont let me put the task?

Collapse
 
toheebosundare profile image
toheebosundare

You have to add event listener -DOMContentLoaded and save to local storage. Watch tutorials on YouTube on how to do that

Collapse
 
shantanu_jana profile image
Shantanu Jana

You can watch this video
youtube.com/watch?v=6yN7c4jfv_E

Collapse
 
shantanu_jana profile image
Shantanu Jana

Some comments have been hidden by the post's author - find out more