"To do list" - the javascript part is not working

Hi All,

I have created a kind of " To do list" , it was a tutorial and it is not working and do not know what i miss. Checked everything.

Here is all my codes, If you have time i would be grateful to help me.
Thank you in advance.

Have you looked at the console, and the error you are getting?

“Failed to execute ‘addEventListener’ on ‘EventTarget’: 2 arguments required, but only 1 present.”

I would also go back and look at your code as you have a typo

3 Likes

Thank you for your answer.

I am beginner in javascript.
did not check the console log.

You mean typo in my javascript codes?

Yes you have trxt in a place instead of text. Also what are you expecting the add button to do? You dont have any functionality attached to your button. I think you need to go back over and watch or do the tutorial again, but slower this time to make sure you catch everything

3 Likes

Thank you for your help. Will do as you suggested to me.

1 Like

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