Manage State Locally First - test# 6 not passing

Tell us what’s happening:

I don’t understand why test#6 is not passing. I compared it to other forum entries, and I couldn’t tell what the difference was. Copy & pasting someone else’s code (that’s virtually the same) passes the test. Could it be a syntax problem? My eyes can’t tell

Your code so far

class DisplayMessages extends React.Component {
  constructor(props) {
    this.state = {
      input: '',
      messages: []

    this.handleChange = this.handleChange.bind(this);
    this.submitMessage = this.submitMessage.bind(this);
  // add handleChange() and submitMessage() methods here
  handleChange(e) {
  submitMessage() {
    let message = [...this.state.messages, this.state.input];
      mesages: message,
      input: ''

  render() {
    return (
        <h2>Type in a new Message:</h2>
        { /* render an input, button, and ul here */ }
        <button type="submit" onClick={this.submitMessage} >
        Add message

  { => <li>{msg}</li>)}
        { /* change code above this line */ }

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

Realized that I misspelled ‘messages’… I don’t know how to delete this post though