score:2

Accepted answer

your form is just doing a default form submission. on the send() method, have it accept the event as an argument, and prevent the default submission.

send(event){
  event.preventdefault();

  // the rest of your code...
}

Related Query

More Query from same tag