text: var leapYear = function(year) {
    if ((year % 400 === 0) || ((year % 4 === 0) && (year % 100 !== 0))) {
        return true;
    } else {
        return false;
    }
  };
  
  $(document).ready(function() {
    $("form#leap-year").submit(function(event) {
      var year = parseInt($("input#year").val());
      var result = leapYear(year);
  
      $(".not").empty();
  
      $(".year").text(year);
      if (!result) {
          $(".not").text("not");
      }
  
      $("#result").show();
      event.preventDefault();
    });
  });
  