It seems like you have opened this file by double-clicking on it. In order to test your build in a browser you need to load this file from a web server. You can either upload this file and the rest of the files from a Defold HTML5 bundle to a web hosting service OR host them using a local web server on your home network.
The “gui” game object contains a GUI component stored in the file button.gui. The GUI contains
the setup with the “button” box node for the button image and the “text” text node for the button label text.
button.gui has a script attached to it, called button.gui_script, which contains the button logic.
Scripts
button.gui_script
If you want to play with these examples, you can get the project on Github.
Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.