var pingPong = function(userNumber) {
  if ((userNumber % 3 === 0) || (userNumber % 5 === 0)) {
    return true;
  } else {
    return false;
  }
};

$(function() {
  $("form#game").submit(function(event) {

    event.preventDefault();
  });
});

var pingPong = function(userNumber) {
  if ((userNumber % 3 === 0) || (userNumber % 5 === 0)) {
    return true;
  } else {
    return false;
  }
};

$(function() {
  $("form#game").submit(function(event) {
    $("#outputList").empty();

    var number = parseInt($("#userNumber").val())
    var output = pingPong(number)
    
    event.preventDefault();
  });
});

Add variables and code for emptying output list at the beginning of a new number submission
Add variables and code for emptying output list at the beginning of a new number submission
