Let's add a submit
button to your form. Clicking this button will send the data from your form to the URL you specified with your form's action
attribute.
Here's an example submit button:
<button type="submit">this button submits the form</button>
Add a button as the last element of your form
element with a type of submit
, and Submit
as its text.
form
should have a button
inside it button
should have the attribute type
set to submit
button
should only have the text Submit
button
element should have a closing tag