var progress;
$('.option').on('click',function() {
$(this).addClass('selected');
$(this).closest('.question_item').addClass('answered');
$(this).closest('.question_item').find('.correct-circle').closest('.option_circle2').addClass('correct-circle');
if ($(this).find('.status').hasClass('correct') == true) {
$(this).siblings('.way-to-go').addClass('show-copy');
} else {
$(this).siblings('.explanation').addClass('show-copy');
}
progress = 100 * ($('.answered').length / '.question_item');
$('.progress-bar').css({
width:progress+'%',
});
});
this;
this;