js/app.js
// function to get next random question
function to get next random question
function to get next random question
function nextQuestion(){
   var next = Math.floor(Math.random()*6);
   console.log(next);
   var question = $(".pol_questions0"+next);
   $(".img-circle").addClass("hide_div");
   $(".politic:not(question)").addClass("hide_div");
    question.removeClass("hide_div");
}
function nextQuestion ( ) { var next = Math . floor ( Math . random ( ) * 6 ) ; console . log ( next ) ; var question = $ ( ".pol_questions0" + next ) ; $ ( ".img-circle" ) . addClass ( "hide_div" ) ; $ ( ".politic:not(question)" ) . addClass ( "hide_div" ) ; question . removeClass ( "hide_div" ) ; }
function to get next random question
function to get next random question