{"size": 850, "ext": "js", "max_stars_repo_path": "js/script.js", "max_stars_repo_name": "shureim/quiz", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/script.js", "max_issues_repo_name": "shureim/quiz", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/script.js", "max_forks_repo_name": "shureim/quiz", "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": 31.4814814815, "max_line_length": 81, "alphanum_fraction": 0.6305882353}

var correct =function(one ,two ,three ,four ,five){
   return one + two + three + four + five;
}

$(document).ready(function() {
    $("form#que").submit(function(event) {

    var question1 = parseInt($("input:radio[name=question1]:checked").val());
    var question2 = parseInt($("input:radio[name=question2]:checked").val());
    var question3 = parseInt($("input:radio[name=question3]:checked").val());
    var question4 = parseInt($("input:radio[name=question4]:checked").val());
    var question5 = parseInt($("input:radio[name=question5]:checked").val());
    var finalCorrect =correct(question1,question2,question3,question4,question5);

    $(".after-submit").text(finalCorrect);
       event.preventDefault();
       $("#after-submit").show();
  });

  $("p").click(function(){
    $(".hide").toggle();
    $(".show").toggle();
  });

});
