github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/examples/wasm/callback/index.html (about)

     1  <!DOCTYPE html>
     2  
     3  <html>
     4  
     5  <head>
     6  	<meta charset="utf-8" />
     7  	<title>Go WebAssembly</title>
     8  	<meta name="viewport" content="width=device-width, initial-scale=1" />
     9  	<script src="wasm_exec.js" defer></script>
    10  	<script src="wasm.js" defer></script>
    11  </head>
    12  
    13  <body>
    14  	<h1>WebAssembly</h1>
    15  	<p>Add two numbers, using WebAssembly:</p>
    16  	<input type="number" id="a" value="0" /> + <input type="number" id="b" value="0" /> = <input type="number" id="result" readonly />
    17  </body>
    18  
    19  </html>