🤔🤨🤔🤨What is the work of <min ="0" > in the progress element I'm HTML5 ? 🤔🤔🤔🤔🤨🤨🤨🤨 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

🤔🤨🤔🤨What is the work of <min ="0" > in the progress element I'm HTML5 ? 🤔🤔🤔🤔🤨🤨🤨🤨

I mostly see that the <min ="0"> min is equal always 0 in most of codes that I see... Can 0 is increases or decrease?? At what conditions???? 🤔🤔🤔🤔🤔😎😎

24th Apr 2020, 8:13 AM
GCoderX👨‍💻👨‍💻
GCoderX👨‍💻👨‍💻 - avatar
3 Answers
+ 4
Yes, it must not be 0. Simply, imagine <input type="number" name="donation" min="10" value="20"> It is the same like that but max and value attributes required. (Progress is read-only.) Why min="0" and max="100"? Usually programmers uses progress to show PERCENTAGE. But if you want, you can use it for another thing.... 👌
24th Apr 2020, 11:01 AM
Tomáš Wróbel
Tomáš Wróbel - avatar
+ 2
Mostly we rate things from 0 percent to 100 percent, making min(minimum) =0 and max(maximum) = 100
29th Jun 2021, 9:44 AM
Stephen
Stephen - avatar
+ 1
Min can be any number I think it's the number you decide to use as your minimum (low) value buh it shouldn't be greater than your maximum
12th Feb 2022, 8:49 AM
Stephen
Stephen - avatar