Unit 6 Dot 13 Type Error

https://forum.code.org/t/type-error-message-t-on-is-not-a-function/32351

UPDATE: MOVED TO CODING AND DEBUGGING FORUM

Two students and I are getting this error message on LINE 19.
ERROR: Line: 19: TypeError: t.on is not a function

We are stumped on how to correct it. We all have the same code as the Example Solution given (we think). Are we missing something?
THANK YOU SO MUCH !

Here’s a link to my hunch on what is wrong here.

Mike

2 Likes

How did we ALL miss that?!?! :relaxed:
Thanks so much! :slight_smile:

1 Like