Type Error message : t:on is not a function

Unit 6 Lesson 6 Dot 13
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 !

Your line 19 uses “onBoardEvent” rather than “onEvent.” I don’t have my circuit board with me, but guessing that might be the issue.

Let us know!

Mike

2 Likes

How did we all miss that!!?!?! :blush:
Thanks so much!! :slight_smile: