Work towards getting it to run in a web page.
This commit is contained in:
parent
1dfc487fd9
commit
d5b1b91315
6 changed files with 168 additions and 41 deletions
31
docs/index.html
Normal file
31
docs/index.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="https://ogp.me/ns#" lang="en" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<title>ANTONIVS ORNARE | SIMON RIVVLVS HOC FECIT | MMXXIV</title>
|
||||
<a rel="me" href="https://mastodon.scot/@simon_brooke"></a>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>ANTONIVS ORNARE | SIMON RIVVLVS HOC FECIT | MMXXIV</h1>
|
||||
<form>
|
||||
<div class="widget">
|
||||
<label for="input">COMPVTARE</label>
|
||||
<input id="input" name="input" type="text" autocapitalize="characters" onchange="handleInputChange(this)">
|
||||
</div>
|
||||
<div class="result" id="result"></div>
|
||||
</form>
|
||||
<script src="js/antonine.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function handleInputChange(elt) {
|
||||
if (event.key === 'Enter') {
|
||||
event.preventDefault();
|
||||
alert(ele.value);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue