summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..1aad79c
--- /dev/null
+++ b/index.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>wasm test</title>
+ </head>
+
+ <body>
+ <h1>wasm test</h1>
+ <input type='number' id='number-input1' placeholder='5'>
+ <input type='number' id='number-input2' placeholder='3'>
+ <button onclick='calculate()'>calc</button>
+ <p>
+ result: <span id='result'></span>
+ </p>
+
+ <script src='./main.mjs' type='module'></script>
+ </body>
+</html>