title: how to submit form after calling e.preventDefault()
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>form.addEventListener('submit', e =&gt; {
      e.preventDefault();
      validateInputs();
  
  
  });</code></pre>
  </div>
  </div>
  </p>
  <p>how to submit the form in given js</p>