text: function handleSubmit(event) {
      event.preventDefault()
  
      // check what text was put into the form field
      let formText = document.getElementById('name').value
      debugger
      Client.checkForName(formText)
      console.log("::: Form Submitted :::")
      fetch('http://localhost:8080/test')
      .then(res => {
          return res.json()
      })
      .then(function(data) {
          console.log(data);
          document.getElementById('results').innerHTML = data.message
      })
  }
  
  export { handleSubmit }
  