+ 6
QUESTION: change of bar color
<progress > </progress> i wanted to change the bar color of progress bar using JavaScript. https://code.sololearn.com/WlHmTiNPo2xz/?ref=app
5 Answers
+ 7
not working
+ 2
You can do it by using the 'background: yellow' property in the css
+ 2
You have to that on the
progressbar {
background: yellow;
}
+ 2
Here is a simple example
https://code.sololearn.com/WWUyFU0Y1274/?ref=app
+ 2
To change the color:
https://code.sololearn.com/W7DjYgEPnhyo/?ref=app