filipemoreiralemos / Formulario

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form to practice and study the JavaScript language


Validation

Validation using some bootstrap classes, such as "is-invalid" and "is-valid". Validation via front-end through JavaScript.

Name

For name/surname, only a minimum length validation was used.

CPF

For the CPF, the standard calculation for CPF validation used by the Federal Revenue was used.

Telephone

For Telephone and Cellular, minimum sizes were used for area code and numbers with 8 digits for telephones and 9 digits for cell phones, totaling 10 numbers for telephone and 11 for cell phones.

Email

For the email, the presence of the "@" and the presence of a period after the "@" was used.

Password

Password not very restrictive, requiring more than 8 digits. Password confirmation used in direct comparison with the password entered in the field.


Responsiveness

Responsiveness applied to the form using Bootstrap and its classes for form control.

Ilustração

About


Languages

Language:JavaScript 91.8%Language:HTML 7.2%Language:CSS 1.0%