0
How do u make a progress bar adjust to 100 when the action is complete?
I'm asking this question bc when u code a progress bar the value can't adjust it just stays stuck at what the value is, making the progress bar basically useless
3 ответов
+ 5
It can be achieved within JS if you familiar with it. Also you can put this on the action button as attribute: onclick="() => document.getElementById('progressElementId').value = 100"
And add id attribute to progress bar element.
+ 1
Ibrahim Mohammad
I was intrigued with your question, so played about a bit.
See if this little code helps you
https://code.sololearn.com/Wlv8w4MapSho/?ref=app
0
https://code.sololearn.com/W3pg3NQB2saP/?ref=app