🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Some form validation I was asked to do for a code test. There's live form validation that triggers 500ms after user input stops (aka debouncing). On blur validation is triggered instantly. Simple Red/Green borders used as visual cues. Some additional checks performed on submit. Logic for validating is segregated into its own plain old javascript object.

Validation

See the Pen by fredantell (@fredantell) on CodePen.


This awesome script developed by fredantell. Visit their official repository for more information and follow for future updates.

You May Also Like