Created
May 21, 2016 20:34
-
-
Save j-hannes/777c1adb396b5bb83da0967e3f2ef6cd to your computer and use it in GitHub Desktop.
Counter HTML
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>a simple elm counter</title> | |
</head> | |
<body> | |
<div id="counter"></div> | |
<script src="counter.js"></script> | |
<script> | |
var counterContainer = document.getElementById('counter') | |
Elm.Counter.embed(counterContainer) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment