title: const {name, value} = event.target -- what does this mean
body: <pre><code>handleChange(event) {
      const {name, value} = event.target
      this.setState({
          [name]: value
      })
  }
  </code></pre>
  
  <p>this is a method that notes for change in state of a react component. takes event as parameter and does something and changes state.</p>