Skip to content

Instantly share code, notes, and snippets.

View Cordazar's full-sized avatar

Ricard Fredin Cordazar

View GitHub Profile
@Cordazar
Cordazar / index.html
Last active February 4, 2020 12:12
Working Facebook Reactions count and webpage show
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Facebook Reactions</title>
<style>
html {
box-sizing: border-box;
width: 100%;
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