title: How to display the state on the same page when clicked Submit button in react
body: <p>I have made a form in react which takes input from the user and stores it in the state. Now, I want to display the state values when the user clicks Submit button in an input field just below the submit button in React.
  Im new to react.</p>