Step 20
The first input
element with a type
of submit
is automatically set to submit its nearest parent form
element.
To handle the form submission, after the last fieldset
element add an input
element with the type
attribute set to submit
and the value
attribute set to Submit
.
(I don’t know what I am doing wrong here.)
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name" type="text" /></label>
<label for="last-name">Enter Your Last Name: <input id="last-name" type="text" /></label>
<label for="email">Enter Your Email: <input id="email" type="email" /></label>
<label for="new-password">Create a New Password: <input id="new-password" type="password" /></label>
</fieldset>
<fieldset></fieldset>
<fieldset></fieldset>
<input type="submit" value="submit" />