I’m failing four items on the survey form pen and I’m running into trouble in regard to the following items:
• 8. If I enter non-numbers in the number input, I will see an HTML5 validation error.
• 9. If I enter numbers outside the range of the number input, I will see an HTML5 validation error.’
I’m racking my brain to try and figure out where I’m going wrong with these. Here’s my code:
The question would be:
- Do I need any extra code to generate an HTML5 Validation Error for entering a non-number (or outside-the-range numbers) OR do I just need “required” in the code?
Here’s the URL for my pen:
Thanks a lot for any help you can provide.
Best,
Nick