What is the function of high, low and optimum attribute in <meter> tag? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is the function of high, low and optimum attribute in <meter> tag?

I put it in code but nothing shown... https://code.sololearn.com/W1I52TRZ7paX/?ref=app

22nd Feb 2018, 12:26 PM
GO!
GO! - avatar
3 Réponses
+ 2
Because it changes the color of the progress bar according to that.
22nd Feb 2018, 12:57 PM
Kevin Eldurson
Kevin Eldurson - avatar
+ 2
Set the value above 90 or below 20 and you'll see the difference.
22nd Feb 2018, 12:57 PM
Kevin Eldurson
Kevin Eldurson - avatar
0
Em... After I try, the optimum attribute is useless... isn't? Because the server set the color of bar to be green by default.
23rd Feb 2018, 12:51 AM
GO!
GO! - avatar