public/app.js
// Define function that fires when the clear results button is clicked.
Define function that fires when the clear results button is clicked.
Define function that fires when the clear results button is clicked .
function onClickEventBehaviorOfClearResultsButton(event)  
  {
    event.preventDefault();
    table.remove();
    table.innerHTML = "";
  }
function onClickEventBehaviorOfClearResultsButton ( event ) { event . preventDefault ( ) ; table . remove ( ) ; table . innerHTML = "" ; }
Define function that fires when the clear results button is clicked.
Define function that fires when the clear results button is clicked .
// Stop it from redirecting anywhere // Clear all results from the table.