As you can see in this post we have created a simple form using React. This form contains two fields for entering a username and email and a button. By entering two fields and clicking on the button, an alert will be displayed at the top of the screen, where we can see the items that were written in the text fields inside the alert.