this_algorithm/this_algorithm-wasm/index.html
2023-02-25 14:49:09 -05:00

49 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>hello-wasm example</title>
</head>
<body>
<fieldset>
<label for="encode-address-lat">Latitude</label>
<input id="encode-address-lat" type="text" />
<br>
<label for="encode-address-lon">Longitude</label>
<input id="encode-address-lon" type="text" />
<br>
<label for="encode-address-result">encode-address-result</label>
<input disabled id="encode-address-result" />
<br>
<p type="text" id="encode-address-error"></p>
</fieldset>
<fieldset>
<label for="decode-address-input">decode-address-input</label>
<input id="decode-address-input" type="text" />
<br>
<label for="decode-address-lat">Latitude</label>
<input disabled id="decode-address-lat" type="text" />
<br>
<label for="decode-address-lon">Longitude</label>
<input disabled id="decode-address-lon" type="text" />
<br>
<p type="text" id="decode-address-error"></p>
</fieldset>
<script>
const encodeAddressResult = document.getElementById("encode-address-result");
const encodeAddressError = document.getElementById("encode-address-error");
const encodeAddressLat = document.getElementById("encode-address-lat");
const encodeAddressLon = document.getElementById("encode-address-lon");
const decodeAddressInput = document.getElementById("decode-address-input");
const decodeAddressError = document.getElementById("decode-address-error");
const decodeAddressLat = document.getElementById("decode-address-lat");
const decodeAddressLon = document.getElementById("decode-address-lon");
</script>
<script type="module" src="index.js">
</script>
</body>
</html>