New course! Every coder should learn Generative AI!
Try a free lesson+ 2
I believe you’ll use the progress tag like in this article:
https://www.w3schools.com/tags/tag_progress.asp
Next you’ll have to access the value attribute and increase it by one.
E.g. var a = document.getElementById(“thing”);
a.value = a.value + 1;
0
Another alternative is incrementing it's value like
a.onclick=()=>{
a.value++
}