Read result from embedded HTML

Hello

New to Wix here. Trying to do a proof of concept. Got a custom HTML code which generates a “Spin the wheel” game, trying to store whatever value the wheel lands on in my Wix database.
My game is at https://reslanw.wixsite.com/mysite/game
Appreciate any tips on how to do this

Thanks

You can pass messages from the HtmlComponent to the page (or from the page to the HtmlComponent). See the article Wix Code: Working with the HTML Element for information. You can also play with the Google Maps Example .