{"size": 989, "ext": "js", "max_stars_repo_path": "javascript/passchecker.js", "max_stars_repo_name": "Frederic-P/dropin-log", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "javascript/passchecker.js", "max_issues_repo_name": "Frederic-P/dropin-log", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "javascript/passchecker.js", "max_forks_repo_name": "Frederic-P/dropin-log", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 44.9545454545, "max_line_length": 143, "alphanum_fraction": 0.6602628918}
function verify(who) {
  var pass1 = document.getElementById("pass1").value;
  var pass2 = document.getElementById("pass2").value;

  console.log(pass1.length >8 && pass2.length >8);
  console.log(pass1 !== pass2);
  console.log(pass1 !== pass2 && (pass1.length >8 && pass2.length >8))

  if(pass1 === pass2 && (pass1.length >8 && pass2.length >8)){
    document.getElementById("indicate_1").innerHTML='<i class="fas fa-check valid"></i>';
    document.getElementById("indicate_2").innerHTML='<i class="fas fa-check valid"></i>';
    $(".form-submit-button").prop("disabled", false);
  } else {
    $(".form-submit-button").prop("disabled", true);
    document.getElementById("indicate_1").innerHTML='<i class="fas fa-exclamation-circle error" title="Provided passwords don\'t match"></i>';
    document.getElementById("indicate_2").innerHTML='<i class="fas fa-exclamation-circle error" title="Provided passwords don\'t match"></i>';

  }

    console.log(pass1);
  }
