test on a little less complicated app to make it work.
have no idea how and why but in your visual_logic.js the event listener does nothing. your puzzles were not saved correctly.

it should look this way when the logic was saved (tested with 4.8.0 puzzle editor).

I just opened your puzzles and saved them. nothing else
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.