Home >Web Front-end >JS Tutorial >Use Javascript to evaluate the strength of the password entered by the user to implement the code_javascript skills
1. If the password is less than 5 characters, it is considered a weak password.
2. If the password only consists of one of numbers, lowercase letters, uppercase letters or other special symbols, it is considered a weak password.
3. If the password consists of two types of numbers, lowercase letters, uppercase letters or other special symbols, it is considered a moderately secure password.
4. If the password consists of more than three types of numbers, lowercase letters, uppercase letters or other special symbols, it is considered a relatively secure password.