Clear the Input
Easy · Events
Render an <input>, a "Clear" button and a <p> that repeats what the user typed.
Clicking "Clear" empties both the input and the paragraph. To do this, the input has to be controlled: its value comes from state.
Next: Double the Number