Menu
×
×
Correct!
Exercise:1. Create an input field that should only contain a numeric value, and place it inside the <form> element. 2. Add the name attribute with a value of "quantity" to the input element. 3. Set restrictions on the input field to only accept numbers between 1 and 5. Hint: 1. Use input type="number". 2. Add the name attribute. 3. Add the min and max attributes. |
Edit This Code:
Result:
|
Correct Code:
Result:
|