Error: Write a React Component from Scratch

Tell us what’s happening:
unable to pass the test. see the error in screenshot.

Your code so far


// change code below this line
class MyComponent extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <div>
      <h1>My First React Component!</h1>
      </div>
    );
  };
};
ReactDOM.render(<MyComponent />, document.getElementById('challenge-mode'));

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

Just a typo, the element id is challenge-node, not “mode”.

Despite the typographical error, having corrected the mistake, the error still persists.

Problem solved! Thank so much.