Form Validation Not Triggering
Spot why native HTML validation never runs on this signup form.
Codehtml
<form action="/signup" method="post">
<label for="email">Email</label>
<input type="email" id="email" name="email" required />
<label for="pwd">Password</label>
<input type="password" id="pwd" name="pwd" required minlength="8" />
<button type="button">Create account</button>
</form>
The form submits (or fails to validate) incorrectly. What is the bug?