Why does displaying an element via JS not work correctly in Safari on IOS?

Good afternoon

On the computer (windows) everything works in the browser, on the iPhone it does not work from the 37th line - the display of the guessitem element (as if display: block does not work here, although everything works fine for the itemimg element).

solved

Please clean up and indent the code properly - it’s not really readable in the current form :sweat_smile:

removed unnecessary