0
Please can someone help me with a page loader with a count down code here
web
2 Answers
0
var timeleft = 10; var downloadTimer = setInterval(function(){ document.getElementById("progressBar").value = 10 - --timeleft; if(timeleft <= 0) clearInterval(downloadTimer);
},1000);
<progress value="0" max="10" id="progressBar"></progress>
0
thanks