Files
freeCodeCamp/public/js/main.js
2014-11-04 14:57:00 -08:00

13 lines
472 B
JavaScript

$(document).ready(function() {
$('.start-challenge').on("click", function() {
$(this).parent().remove();
$('.challenge-content').removeClass('hidden-element').addClass('animated fadeInDown');
});
$('.completed-challenge').on("click", function() {
// user.completedChallenges.push()
$('#complete-dialog').modal('show');
});
$('.skip-challenge').on("click", function() {
$('#skip-dialog').modal('show');
});
});