Build a Survey Form1

Tell us what’s happening:
Below condition does not satisfy in my survey form.So, please help me out with this. Thanks in advance.
Condition:If I enter numbers outside the range of the number input, which are defined by the min and max attributes, I will see an HTML5 validation error.

here is my survey form link https://codepen.io/nohitha-reddy/pen/VBMqvy

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-survey-form

You have just used “min” attribute in input element for number. Use “max” attribute and give value larger than “min” attribute.

1 Like