Why don't i run a to-do app. When i want to run that program, it says "addEventListener" has null property. Please help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why don't i run a to-do app. When i want to run that program, it says "addEventListener" has null property. Please help.

This is address of my program:- https://code.sololearn.com/W013a4a1A7A1/?ref=app

13th Dec 2020, 10:01 PM
meherDev
meherDev - avatar
3 Answers
+ 6
//try this window.onload = function () { your code } Other functions https://www.sololearn.com/post/7444/?ref=app
14th Dec 2020, 3:08 AM
Simba
Simba - avatar
+ 2
window.onload = function () { // your code }
14th Dec 2020, 12:29 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 2
Thank you guys. I have done it now.... You all are best. 🙏🙏🙏
14th Dec 2020, 4:49 AM
meherDev
meherDev - avatar