+ 1
Question
Which of the following is a set of possible values that the user can select for the following code? <input type= "number" name= "values" min="O" max="30" step="7" value="O"⺠⢠14, 0, 28, 7, 17 ⢠30, 0, 7, 28, 14 ⢠7,23, 14, 0, 28 ⢠0,21, 7, 28, 14 What is this can someone explain?
1 Answer
+ 6
Bing qiling
0,21,7,28,17
it's kind of input validation, which you can only enter a number in range (min, max).
["w3school"]: the steps defines the legal number interval.
https://www.w3schools.com/tags/att_input_type_number.asp#:~:text=The%20%3Cinput%20type%3D%22number,specifies%20the%20minimum%20value%20allowed