Survey Form problems

Survey Form problems
0

#1

Hi, I can’t understand these two things:
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.


#2
  1. All you need to do is give it input’s type number.
  2. https://www.w3schools.com/tags/att_input_min.asp

#3

Thanks, but it doesn’t work.


#4

According to the 8th point, if you enter anything apart from numbers it's HTML validation error.

According to the 9th point, if you enter numbers outside the specified range , then also it's HTML5 validation error.


#5

I don’t know what to do, but thanks.


#6

Do you have a codepen that you are working on? If you do, share the link and someone will probably be able to help you


#7

See the Pen Fork Me! FCC: Test Suite Template by AnneJuly (@AnneJuly) on CodePen.


#8

your input should have a type=“number” and min and max values for instance min=“1” max=“15”


#9

It works, now only the point nine, thank you!


#10

<input type:"number" id="number" name:"user_number" placeholder="write here" required value="1" min="1" max="15">

This is what you have, you are missing the = sign for the type attribute. ( This will clear the error )

(Additional ) Also check other input fields, you have used the colon : at many place, you should correct it


#11

Thank you so much! It works!


#12

Sorry, Anne for the late reply.


#13

Don’t worry :slightly_smiling_face:


#15

I have just started my Web Dev journey here. Grateful to meet you all sapient.


#16

@Sujith3021 solved your query.


#17

If you won’t mind, since how many months you are practicing these skills?


#18

I started in late July


#19

If you don't mind, Anne, what's your current progress?

What are you working on nowadays?