The solution is not really working on this part for me

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

class StatefulComponent extends React.Component {
  constructor(props) {
    // Only change code below this line
this.state = {name : "Name"}
    // Only change code above this line
  render() {
    return (

Your browser information:

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

Challenge: React - Create a Stateful Component

Link to the challenge:

There is already a constructor in the class. You don’t need to add a second one.

1 Like

Also, your state property does not match the one you are using in the JSX (the one in the JSX is the correct name).

this.state = {name : "Name"}