// Restarting Quiz $(document).on('click', '#summary a', restart); function restart() { i = 0; k = 0; n = 0; score = 0; $('#summary').fadeOut(); $('#questionDiv').fadeIn(); $('#answerDiv').empty(); $('#answerDiv').fadeIn(); $('#score').fadeIn(); $('#btn').fadeIn(); showQuestions(); hello(); world(); createDivs(); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)