I expect this is a very simple question but I am only an occasional user of Hype with some basic understanding of HTML and almost no knowledge of Javascript.
I am trying to create a web page with a grid of squares which allows users to change the colour of individual squares (toggling between black and white fill) by clicking on them.
I copied some simple code from a previous Hype Forum discussion (in 2016) to apply a Javascript action to each square which achieves this. It works fine when previewed on my Mac but not using Hype reflect on my iPhone and iPad.
I thought maybe it was a generic error since the same issue occurred with different examples of code copied from the earlier Forum thread, but here is one I’m using as a Javascript function applied to ‘On Mouse Click (Tap)’: