GoConqr has a new look! Let us know what you think.

Module 8 of 33 · Media

Validity

Kostas Diakogiannis

Validity

Different validity errors

Every input element has a specific object that is called validity. This object has all the information about which part of the data has gone wrong and against our validation restrictions. 

Some of the fields are very descriptive and they are correlated with the conditions we have set.

All these properties that are inside the validity object of each element return a boolean and indicate the root of a problem. If all of them are false finally, the valid property returns true and the input's data is considered valid.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?