ERROR: Line: 129: TypeError: softballScoreboard is not a function

csd-unit-3-lesson-22
#1

My student is getting this error with her code and can’t seem to correct it. Please HELP!

Here is the shared link to her game.

#2

Jason,

The name softballScoreboard was used in the program to define a sprite, it can’t be used again for a function. I remixed and changed the function to softballScoreboard2 and no errors came up.

Edits made to lines 101 and 129.

Hope that helps!

Brad

#3

Thank You for looking into this! I was looking at it for so long and completely missed that. Thanks!

1 Like