import React, {Component} from 'react';
import './Login.css'

export default class Login extends Component {
  constructor() {
    super()
    this.state = {
      email: '',
      password: '',
    }
  }

  handleChange(e, type) {
    this.setState({
      [type]: e.target.value
    })
  }

  render() {
    return(
      <div className='login-container'>
        <div className='input-container'>
          <div className='left-container'>
            <h2 className='login-text'>
              Login To Your Account
            </h2>
            <input className='email-input'
                   placeholder='email address'
                   autoFocus
                   value={this.sate.email}
                   onChange={(e) => this.handleChange(e, 'email')}
          />
            <input className='password-input'
                   placeholder='password'
                   value={this.state.password}
                   onChange={(e) => this.handleChange(e, 'password')}
          />
            <button className='sign-in-btn'>Sign In</button>
          </div>
        <div className='right-container'>
          <h2 className='sign-up-text'>
            Don't Have An Account? Sign Up!
          </h2>
          <button className='facebook-btn'>
            Sign In With Facebook
          </button>
          <button className='twitter-btn'>
            Sign In With Twitter
          </button>
          <button className='google-btn'>
            Sign In With Google+
          </button>
        </div>
      </div>
    </div>
    )
  }

}

@@ -8,16 +8,17 @@
 React, %7B
+ 
 Componen
@@ -18,16 +18,17 @@
 omponent
+ 
 %7D from '
@@ -715,35 +715,34 @@
       onChange=%7B
-(e)
+ e
  =%3E this.handleC
@@ -941,11 +941,10 @@
 ge=%7B
-(e)
+ e
  =%3E 

clean up code