Doubts about HTML 5 validation Error

How can i code for HTML5 validation Error.
I don’t remember doing some challenge on the topic, did I miss something.
One last thing, which URL am I supposed to use for action attribute of form element.

Your code so far

#body{background-color:#F9E79F;} #title{color:black; text-align:center;} #description{color:black; text-align:center;} #survey-form{color:black; text-align:center;} #submit{color:black;} #name{color:black;} #number{color:black;}

Udemy Survey Form

Thank you for taking the time to help us improve the platform

Name

Email

Age(optional)

Would you recommend Udemy to a friend

Definetely Maybe No

What would you like to see improved (check all that apply)

Categories

<input id="Search box"type="checkbox"name=“Improvements”>Search box

Udemy for Business Teach on Udemy Login Page Signup Page

Submit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.

Challenge: Build a Survey Form

Link to the challenge:

Hello!

They are referring to the default validation the browser does when, for instance, an input of type email is used, plus the required attribute for the actually mandatory input.

This means that you have to add the min and max attributes to an input of type number.

I hope this helps :slight_smile:,

Regards and happy coding!

1 Like

Thanks @skaparate
I googled and found the solutions.
Thank you so much for taking out your time :slight_smile:

1 Like