SHARE
TWEET

Untitled

a guest Jun 18th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $indicators
  2.     .appendTo($quiz);
  3.  
  4.   $.each(questions, function(question_index, question) {
  5.     $('<li>')
  6.       .attr('class', 'list-group-item')
  7.       .html(question.prompt)
  8.       .attr('class', question_index ? "" : "list-group-item")
  9.       .click(function() {
  10. $quiz.carousel($(this).index());
  11.      $(this).toggleClass('list-group-item active');
  12.             })
  13.       .appendTo($indicators);
  14.   });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top