Background
Starting point:
http://codepen.io/pen?template=bNxGPM
- Please implement the logic with
addClass
and removeClass
.
- Please add more input types, such as checkbox, textarea, emails. And show errors when any inputs are empty.
- Please remove all error states when user changes any value of the inputs. (When user is trying to fix the error)