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.
ValidationSee the Pen by fredantell (@fredantell) on CodePen.