Forum Discussion
CatherineG
21 days agoCommunity Member
Bingo Counter JavaScript Bug
Hi folks,
I'm creating a bingo activity where I want to let learners advance only once they've selected 5 (or more) of the bingo rectangles. I've used JavaScript to check if each of the toggled rec...
SBP_Inc
19 days agoCommunity Member
PhilMayor​ excellent point on the rect vs group triggering; that's a key insight even when one completely replaces the javascript with a simple console.log call. Catherine I'd start by triple checking any javascript runs when checking the triggers. Once verified then I'd move on to the improvements/alternative javascript code offered by others.
Save your javascript away, then swap out for simple js like: console.log("Event triggered");