Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<html>
<head>
<title>test</title>
<script type="text/javascript">
var counter = 10;
function countdown() {
if (--counter > 0) {
document.getElementById("countdown").innerHTML = counter;
window.setTimeout(countdown, 1000);
} else {
document.getElementById("countdown").innerHTML = "ende";
}
}
function startCountdown() {
document.getElementById("countdown").innerHTML = counter;
window.setTimeout(countdown, 1000);
}
</script>
</head>
<body onload="startCountdown();">
<div id="countdown">??</div>
</body>
</html>