I tried everything, I can not do this !!! Here is my code, please help:
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="favicon.ico"/>
<title>Doughtnut Box !</title>
<style>
</style>
<script>
var doughnut = 0;
window.setInterval(
doughnut + 1
,1000);
document.getElementById("doughnuts").innerHTML="You have " + doughnut >+ " doughnuts!";
</script>
</head>
<body>
<h3 id="doughnuts"></h3>
</body></html>
Thanks for the code, it was really great! Now, how can I save it so that it does not start when updating?
source
share