Tell us what’s happening:
What is the difference between using <submit>
and <input>
to submit data? When would one be used instead of the other? Can someone provide an example?
<button type="submit">submit</button>
<input type="submit">submit</input>
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form