Render State in the User Interface help i'm stuck

Tell us what’s happening:

Your code so far


class MyComponent extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      name: "freeCodeCamp"
    }
  }
  render() {
    
    const name= "freeCodeCamp"
    return (
      <div>
        { /* change code below this line */ }
 <h1>{name}</h1>
        { /* change code above this line */ }
      </div>
    );
  }
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.

Link to the challenge:

name will not be found, it’s a part of the state object. So you need to access the state object’s name property.
Also don’t forget to refer it to this class hint hint