Hi, I'm new to javascript scripts in Minecraft Bedrock and I would like to know what I have wrong with my code. What I want to do with it is generate a UI for the player and show buttons so that the player can choose one of them. I've been trying but nothing works for me.
I don't know if it will be the versions of the APIs that I use.