0

How do code with using of input element set minimum and maximum numbers expected from users?

Another thing I am trying to get is the coding of numbers with input element by setting the min and Max of the number expected from users. For example if am trying to set number at minimum of 2 and maximum of 98.

6th Mar 2019, 9:24 PM
Moshood Aderibigbe
1 ответ
+ 1
<input type="number" min="2" max="98"> Docs and more example: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number
6th Mar 2019, 9:29 PM
Dawid
Dawid - avatar