Endless Tally Counter


This is just a simple counter written in html coding.
The source code is shown below:

<!DOCTYPE html>
<html>
<body text="orange">
<body style="font-family:Segoe UI;">          //Windows 10 font :)
 
<button onClick="setInterval(myCounter, 1000)"></button>
 
<p id="demo">Ready to execute</p>
 
<script>
var c = 0;
function myCounter() {
    document.getElementById("demo").innerHTML = ++c;
}
</script> 
 
</body>
</body>
</html>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License