This login form provides visual cues by wiggling the input field when an invalid input is entered. It also notifies the visitor when the password is wrong and also notify the user the number of retries left. This is designed by Nathan Taylor.
If you are having trouble with the pen, try the archived copy on GitHub
Login Form UX Snippet
See the Pen Login Form UI/UX by Nathan Taylor (@nathantaylor) on CodePen.0