// InfoForm.js this.state = { submitted: false, userEmail: '', // we'll start this off as an empty string }; //We can attach the onChange listener to our <input> element. This will be triggered every time a change is made inside our input. For example, if the user enters the string, 'pillow' inside of our input, onChange() will fire 6 times, one for each character inside the string. // InfoForm.js <input onChange={this.handleChange} className="infoForm-input" type="email" placeholder="Enter your email here"/> //Finally, we'll need to create the handleChange() method itself: // InfoForm.js handleChange = (evt) => { this.setState({ userEmail: evt.target.value }); };