- Excercise.prototype.reset = function() {
- $(this.element).html($(this.element).data('excercise-html'));
- return excercise(this.element);
+ Exercise.prototype.retry = function() {
+ $(".correct, .incorrect", this.element).removeClass("correct incorrect");
+ $(".check", this.element).show();
+ return $(".retry", this.element).hide();
+ };
+
+ Exercise.prototype.reset = function() {
+ $(this.element).html($(this.element).data('exercise-html'));
+ return exercise(this.element);