0

Explain

Can you explain me this? <input type="number" name="values" min="0" max="30" step="7" value="0"> And what is set of posible values that the user can select?

1st Mar 2019, 9:50 AM
Foxx03_
Foxx03_ - avatar
3 Answers
+ 5
Seems like this is a question from a challenge... After the challenges end, you can scroll down and see "view correct answer"
1st Mar 2019, 10:29 AM
Jingga Sona
Jingga Sona - avatar
+ 1
type declares that you can input only number, name is identifier, min and max - the interval of numbers that you can input, step declares that number should divide 7, and value is the start value of input
1st Mar 2019, 10:10 AM
Before
Before - avatar
+ 1
So the user input can be 0, 7, 14, 21, 28 right?
1st Mar 2019, 11:53 AM
Foxx03_
Foxx03_ - avatar