Skip to content

Instantly share code, notes, and snippets.

@ivanceras
Created April 12, 2022 15:18
Show Gist options
  • Save ivanceras/86832abc9fbf21462b5b6c076318814b to your computer and use it in GitHub Desktop.
Save ivanceras/86832abc9fbf21462b5b6c076318814b to your computer and use it in GitHub Desktop.
Index page
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<title>Counter</title>
<style type="text/css">
body { font-family: verdana, arial, monospace; }
main {
width:30px;
height: 100px;
margin:auto;
text-align: center;
}
input, .count{
font-size: 40px;
padding: 30px;
margin: 30px;
}
</style>
<script type=module>
import init from './pkg/counter.js';
await init().catch(console.error);
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment