Created
April 12, 2022 15:18
-
-
Save ivanceras/86832abc9fbf21462b5b6c076318814b to your computer and use it in GitHub Desktop.
Index page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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