Assignment 4

Build this t-shirt order form: https://t-shirt-order-form.surge.sh.

Requirements

  1. When the form is submitted, hide the form and display a confirmation message with all of the data that was submitted. Feel free to format the submitted data however you'd like.
  2. A Reset button. This should reset the entire form to the default state. Don't use <button type="reset"> or <input type="reset"> for this. Instead, add an onClick handler to a button that changes all of the state properties back to the initial values.
  3. For accessibility, every form control must have a <label>. Clicking on a label should put focus on the corresponding form control.
  4. All form controls must be Controlled Components.
  5. At least 2 React components excluding the App component. This requirement is intended for you to get practice with creating your own reusable components and using props.

If you used Create React App for the assignment, please deploy your assignment to Surge using these instructions and include a link at the top of the README.md file.

https://classroom.github.com/a/H80JL5DA