github.com/aykevl/tinygo@v0.5.0/src/examples/wasm/export/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="2" /> + <input type="number" id="b" value="2" /> = <input type="number" 17 id="result" readonly /> 18 </body> 19 20 </html>