+ 2
How to create a simple loading bar in html.[solved]
3 ответов
+ 8
show ur attempt first
+ 3
<label for="file">Downloading progress:</label>
<progress id="file" value="32" max="100"> 32% </progress>
+ 3
onload = () => {
setInterval(()={
document.querySelector("#file").value = Number(document.querySelector("#file").value) + 1;
},1000/16);
}