aboutsummaryrefslogtreecommitdiff
path: root/05_callback/index.html
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-06-05 10:13:28 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-06-05 10:13:28 +0200
commit73efecca42dbc44200e797e02f8c1e24fcff26ef (patch)
tree46969fed9d5c09a4164257dace56a71cad9092ab /05_callback/index.html
parent2a8e7aeeef99161b6f0378ac14e297c23ca6227b (diff)
downloademscripten-tutorial-73efecca42dbc44200e797e02f8c1e24fcff26ef.tar.gz
emscripten-tutorial-73efecca42dbc44200e797e02f8c1e24fcff26ef.zip
Added two more examples
Diffstat (limited to '05_callback/index.html')
-rw-r--r--05_callback/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/05_callback/index.html b/05_callback/index.html
new file mode 100644
index 0000000..7a1fba7
--- /dev/null
+++ b/05_callback/index.html
@@ -0,0 +1,19 @@
1<!doctype html>
2<html lang="en-US">
3<head>
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width" />
6 <title>Primes in a range</title>
7 <script src="./script.mjs" type="module" defer></script>
8</head>
9
10<body>
11 <label for="aInput">Lower bound (included)</label><br />
12 <input id="aInput" name="aInput" /> x <br />
13 <label for="bInput">Upper bound (excluded)</label><br />
14 <input id="bInput" name="bInput" /> <br />
15 <button id="goButton">Compute</button> <br />
16 <p id="resultText"></p>
17</body>
18
19</html>

Generated with cgit - Back to sebastiano.tronto.net