Validating password using javascript


Validating form input with Java Script is easy to do and can save a lot of unnecessary calls to the server.It can prevent people from leaving fields blank, from entering too little or too much or from using invalid characters.Normally you would modify this so that you could submit or not submit the form based on the number of items selected. Note that in this section we've been using the new ES6 syntax which may not be available in all browsers.

We’ll say that a red rectangle holds a weak password, orange medium, and green a strong password.

Instead of parsing through the string using tokens or some other nonsense we managed to validate our string using a single line of code.


  1. Pingback:

  2. eric   •  

    Better is to develop your offline skills, then use Snapchat to continue that rapport. I have some authority as I am happily married and in a love marriage.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>