Password CheckerOne page website with JS functionalityVerifying password strength using JavaScriptInteractive sliderInterupt redirect to catch potential newsletter signupPassword strength checkerFibonacci checkerBalanced parenthesis string checkerPalindrome checker in JavaScriptFrequency CheckerPassword reveal functionality

Is there a RAID 0 Equivalent for RAM?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Proving an identity involving cross products and coplanar vectors

ContourPlot — How do I color by contour curvature?

How to leave product feedback on macOS?

How to write Quadratic equation with negative coefficient

Giving feedback to someone without sounding prejudiced

Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?

Should I warn a new PhD Student?

How would a solely written language work mechanically

SOQL query causes internal Salesforce error

How much do grades matter for a future academia position?

PTIJ: does fasting on Ta'anis Esther give us reward as if we celebrated 2 Purims? (similar to Yom Kippur)

How to get directions in deep space?

Do I have to know the General Relativity theory to understand the concept of inertial frame?

How to make money from a browser who sees 5 seconds into the future of any web page?

Why is participating in the European Parliamentary elections used as a threat?

Why is the principal energy of an electron lower for excited electrons in a higher energy state?

Personal or impersonal in a technical resume

What the heck is gets(stdin) on site coderbyte?

In One Punch Man, is King actually weak?

Animation: customize bounce interpolation

Echo with obfuscation

Mimic lecturing on blackboard, facing audience



Password Checker


One page website with JS functionalityVerifying password strength using JavaScriptInteractive sliderInterupt redirect to catch potential newsletter signupPassword strength checkerFibonacci checkerBalanced parenthesis string checkerPalindrome checker in JavaScriptFrequency CheckerPassword reveal functionality













0












$begingroup$


In my second post I am looking for the way to change answer dynamically.
As you can see there it changes when I completely fill the input. I want it to change for every letter typed . I will be gratefull guys !






var passwordField = document.forms["takis"]["hero"];
var checkContrainer = document.getElementById("contrainer");

function sila()
if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

passwordField.addEventListener("change", sila);

body

background-color: #06619A;
margin: 0;

form

background-color: #30A4C8;
width: 25%;
margin: auto;
padding: 20px;
min-height: 80px;
border: 2px #114577 solid;
border-radius: 8px;

div

background-color: #444444;
border-radius: 12px;
text-align: center;
border: 1px #333333 solid;
margin-top: 2px;
height: 70px;

input

outline: 0;
border: 2px #114577 solid;
border-radius: 8px;
width: 80%;

input:hover

border-color: #996655;
transition: 0.5s;

input:not(:hover)

transition: 0.5s;

h1

font-size: 22px;
text-align: center;
font-family: "Arial Black";
color: white;
background-color: #30A4C8;
margin: 0;
margin-bottom: 20px;
border-bottom: 2px #114577 solid;
border-radius: 5px;

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="setaki.css" type="text/css">
</head>
<body>
<h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
<form name="takis">
Hasło: <input type="password" name="hero">
<div id="contrainer">
</div>
</form>
<script src="mmn.js"></script>
</body>

</html>











share









$endgroup$
















    0












    $begingroup$


    In my second post I am looking for the way to change answer dynamically.
    As you can see there it changes when I completely fill the input. I want it to change for every letter typed . I will be gratefull guys !






    var passwordField = document.forms["takis"]["hero"];
    var checkContrainer = document.getElementById("contrainer");

    function sila()
    if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
    checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
    else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
    checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
    else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

    passwordField.addEventListener("change", sila);

    body

    background-color: #06619A;
    margin: 0;

    form

    background-color: #30A4C8;
    width: 25%;
    margin: auto;
    padding: 20px;
    min-height: 80px;
    border: 2px #114577 solid;
    border-radius: 8px;

    div

    background-color: #444444;
    border-radius: 12px;
    text-align: center;
    border: 1px #333333 solid;
    margin-top: 2px;
    height: 70px;

    input

    outline: 0;
    border: 2px #114577 solid;
    border-radius: 8px;
    width: 80%;

    input:hover

    border-color: #996655;
    transition: 0.5s;

    input:not(:hover)

    transition: 0.5s;

    h1

    font-size: 22px;
    text-align: center;
    font-family: "Arial Black";
    color: white;
    background-color: #30A4C8;
    margin: 0;
    margin-bottom: 20px;
    border-bottom: 2px #114577 solid;
    border-radius: 5px;

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="setaki.css" type="text/css">
    </head>
    <body>
    <h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
    <form name="takis">
    Hasło: <input type="password" name="hero">
    <div id="contrainer">
    </div>
    </form>
    <script src="mmn.js"></script>
    </body>

    </html>











    share









    $endgroup$














      0












      0








      0





      $begingroup$


      In my second post I am looking for the way to change answer dynamically.
      As you can see there it changes when I completely fill the input. I want it to change for every letter typed . I will be gratefull guys !






      var passwordField = document.forms["takis"]["hero"];
      var checkContrainer = document.getElementById("contrainer");

      function sila()
      if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
      else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
      else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

      passwordField.addEventListener("change", sila);

      body

      background-color: #06619A;
      margin: 0;

      form

      background-color: #30A4C8;
      width: 25%;
      margin: auto;
      padding: 20px;
      min-height: 80px;
      border: 2px #114577 solid;
      border-radius: 8px;

      div

      background-color: #444444;
      border-radius: 12px;
      text-align: center;
      border: 1px #333333 solid;
      margin-top: 2px;
      height: 70px;

      input

      outline: 0;
      border: 2px #114577 solid;
      border-radius: 8px;
      width: 80%;

      input:hover

      border-color: #996655;
      transition: 0.5s;

      input:not(:hover)

      transition: 0.5s;

      h1

      font-size: 22px;
      text-align: center;
      font-family: "Arial Black";
      color: white;
      background-color: #30A4C8;
      margin: 0;
      margin-bottom: 20px;
      border-bottom: 2px #114577 solid;
      border-radius: 5px;

      <!DOCTYPE html>
      <html>
      <head>
      <meta charset="utf-8">
      <link rel="stylesheet" href="setaki.css" type="text/css">
      </head>
      <body>
      <h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
      <form name="takis">
      Hasło: <input type="password" name="hero">
      <div id="contrainer">
      </div>
      </form>
      <script src="mmn.js"></script>
      </body>

      </html>











      share









      $endgroup$




      In my second post I am looking for the way to change answer dynamically.
      As you can see there it changes when I completely fill the input. I want it to change for every letter typed . I will be gratefull guys !






      var passwordField = document.forms["takis"]["hero"];
      var checkContrainer = document.getElementById("contrainer");

      function sila()
      if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
      else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
      else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

      passwordField.addEventListener("change", sila);

      body

      background-color: #06619A;
      margin: 0;

      form

      background-color: #30A4C8;
      width: 25%;
      margin: auto;
      padding: 20px;
      min-height: 80px;
      border: 2px #114577 solid;
      border-radius: 8px;

      div

      background-color: #444444;
      border-radius: 12px;
      text-align: center;
      border: 1px #333333 solid;
      margin-top: 2px;
      height: 70px;

      input

      outline: 0;
      border: 2px #114577 solid;
      border-radius: 8px;
      width: 80%;

      input:hover

      border-color: #996655;
      transition: 0.5s;

      input:not(:hover)

      transition: 0.5s;

      h1

      font-size: 22px;
      text-align: center;
      font-family: "Arial Black";
      color: white;
      background-color: #30A4C8;
      margin: 0;
      margin-bottom: 20px;
      border-bottom: 2px #114577 solid;
      border-radius: 5px;

      <!DOCTYPE html>
      <html>
      <head>
      <meta charset="utf-8">
      <link rel="stylesheet" href="setaki.css" type="text/css">
      </head>
      <body>
      <h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
      <form name="takis">
      Hasło: <input type="password" name="hero">
      <div id="contrainer">
      </div>
      </form>
      <script src="mmn.js"></script>
      </body>

      </html>








      var passwordField = document.forms["takis"]["hero"];
      var checkContrainer = document.getElementById("contrainer");

      function sila()
      if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
      else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
      else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

      passwordField.addEventListener("change", sila);

      body

      background-color: #06619A;
      margin: 0;

      form

      background-color: #30A4C8;
      width: 25%;
      margin: auto;
      padding: 20px;
      min-height: 80px;
      border: 2px #114577 solid;
      border-radius: 8px;

      div

      background-color: #444444;
      border-radius: 12px;
      text-align: center;
      border: 1px #333333 solid;
      margin-top: 2px;
      height: 70px;

      input

      outline: 0;
      border: 2px #114577 solid;
      border-radius: 8px;
      width: 80%;

      input:hover

      border-color: #996655;
      transition: 0.5s;

      input:not(:hover)

      transition: 0.5s;

      h1

      font-size: 22px;
      text-align: center;
      font-family: "Arial Black";
      color: white;
      background-color: #30A4C8;
      margin: 0;
      margin-bottom: 20px;
      border-bottom: 2px #114577 solid;
      border-radius: 5px;

      <!DOCTYPE html>
      <html>
      <head>
      <meta charset="utf-8">
      <link rel="stylesheet" href="setaki.css" type="text/css">
      </head>
      <body>
      <h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
      <form name="takis">
      Hasło: <input type="password" name="hero">
      <div id="contrainer">
      </div>
      </form>
      <script src="mmn.js"></script>
      </body>

      </html>





      var passwordField = document.forms["takis"]["hero"];
      var checkContrainer = document.getElementById("contrainer");

      function sila()
      if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#449055"> Very Strong </h2>';
      else if(passwordField.value.length >= 8 && passwordField.value.match(/[0-9]+/)!= null)
      checkContrainer.innerHTML = '<h2 style="color:#AAEE99"> Strong </h2>';
      else if((passwordField.value.length >= 8 && passwordField.value.match(/[a-z]+/)!= null && passwordField.value.match(/[A-Z]+/)!= null)

      passwordField.addEventListener("change", sila);

      body

      background-color: #06619A;
      margin: 0;

      form

      background-color: #30A4C8;
      width: 25%;
      margin: auto;
      padding: 20px;
      min-height: 80px;
      border: 2px #114577 solid;
      border-radius: 8px;

      div

      background-color: #444444;
      border-radius: 12px;
      text-align: center;
      border: 1px #333333 solid;
      margin-top: 2px;
      height: 70px;

      input

      outline: 0;
      border: 2px #114577 solid;
      border-radius: 8px;
      width: 80%;

      input:hover

      border-color: #996655;
      transition: 0.5s;

      input:not(:hover)

      transition: 0.5s;

      h1

      font-size: 22px;
      text-align: center;
      font-family: "Arial Black";
      color: white;
      background-color: #30A4C8;
      margin: 0;
      margin-bottom: 20px;
      border-bottom: 2px #114577 solid;
      border-radius: 5px;

      <!DOCTYPE html>
      <html>
      <head>
      <meta charset="utf-8">
      <link rel="stylesheet" href="setaki.css" type="text/css">
      </head>
      <body>
      <h1> Password Checker v26.5 <sup>Really hard work no scam !</sup></h1>
      <form name="takis">
      Hasło: <input type="password" name="hero">
      <div id="contrainer">
      </div>
      </form>
      <script src="mmn.js"></script>
      </body>

      </html>






      javascript css html5





      share












      share










      share



      share










      asked 3 mins ago









      HyakkimaruHyakkimaru

      314




      314




















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "196"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f215886%2fpassword-checker%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Code Review Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f215886%2fpassword-checker%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          बाताम इन्हें भी देखें सन्दर्भ दिक्चालन सूची1°05′00″N 104°02′0″E / 1.08333°N 104.03333°E / 1.08333; 104.033331°05′00″N 104°02′0″E / 1.08333°N 104.03333°E / 1.08333; 104.03333

          Why is the 'in' operator throwing an error with a string literal instead of logging false?Why can't I use switch statement on a String?Python join: why is it string.join(list) instead of list.join(string)?Multiline String Literal in C#Why does comparing strings using either '==' or 'is' sometimes produce a different result?How to initialize an array's length in javascript?How can I print literal curly-brace characters in python string and also use .format on it?Why does ++[[]][+[]]+[+[]] return the string “10”?Why is char[] preferred over String for passwords?Why does this code using random strings print “hello world”?jQuery.inArray(), how to use it right?

          How can we generalize the fact of finite dimensional vector space to an infinte dimensional case?$k[x]$-module and cyclic module over a finite dimensional vector spaceSubspace of a finite dimensional space is finite dimensionalIf V is an infinite-dimensional vector space, and S is an infinite-dimensional subspace of V, must the dimension of V/S be finite? ExplainWhy is an infinite dimensional space so different than a finite dimensional one?base for finite dimensional vector space is not infinite dimensional vector space?Any finite-dimensional vector space is the dual space of anotherHaving Trouble Understanding Meaning Of A Finite-Dimensional Vector SpaceProve that “Every subspaces of a finite-dimensional vector space is finite-dimensional”Ring as a finite dimensional Vector space over a field KQuestion regarding basis and dimension