What does "min" do I used to change it but nothing happened | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What does "min" do I used to change it but nothing happened

Min in progress

28th Dec 2020, 10:41 AM
Ziead Shab Kalieh
Ziead Shab Kalieh - avatar
8 Answers
+ 3
Ziead Shab Kalieh if you are talking about 1. Then no min attribute exists Basically nothing happens
28th Dec 2020, 4:09 PM
Krish
Krish - avatar
+ 6
<progress> only has 2 known attributes (value & max) according to w3schools https://www.w3schools.com/TAgs/tag_progress.asp
28th Dec 2020, 11:07 AM
Ipang
+ 3
(If you are asking about the range type input) Min is the attribute used to set the minimum capacity of the range bar By default the value is 0
28th Dec 2020, 11:01 AM
Krish
Krish - avatar
+ 3
Ziead Shab Kalieh what your are talking about 1. <progress value ="10" max ="100">HTML</progress> Or 2. <input type="range" />
28th Dec 2020, 4:05 PM
Krish
Krish - avatar
+ 1
Krish hi krish i know that but for exapmle if we put the minimum 100 what happens?
28th Dec 2020, 4:03 PM
Ziead Shab Kalieh
Ziead Shab Kalieh - avatar
+ 1
Krish i'm talking that if we. Put the min ="100" and max= "200" what happen if the value is less than min
28th Dec 2020, 4:07 PM
Ziead Shab Kalieh
Ziead Shab Kalieh - avatar
+ 1
Krish Yeh that's what I talking about so min is useless it's not important
28th Dec 2020, 4:10 PM
Ziead Shab Kalieh
Ziead Shab Kalieh - avatar
+ 1
Krish another question what happens if the value is more than max?
28th Dec 2020, 4:10 PM
Ziead Shab Kalieh
Ziead Shab Kalieh - avatar