This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Facebook Reactions</title> | |
<style> | |
html { | |
box-sizing: border-box; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var passwordStrength = { | |
REGEX_PASSWORD_ONE_UPPERCASE : /^(?=.*[A-Z]).*$/, //Should contain one or more uppercase letters | |
REGEX_PASSWORD_ONE_LOWERCASE : /^(?=.*[a-z]).*$/, //Should contain one or more lowercase letters | |
REGEX_PASSWORD_ONE_NUMBER : /^(?=.*[0-9]).*$/, //Should contain one or more number | |
REGEX_PASSWORD_ONE_SYMBOL : /^(?=.*[!@#$%&_]).*$/, //Should contain one or more symbol | |
checkStrength: function (password) { | |
length = password.length; | |
//Will contain password strength |