Please help, I cant pass this challenge

Please help I cant pass this challenge:.
Im not clear about the instruction

  **Your code so far**

class App extends React.Component {
constructor(props) {
  super(props);

}
render() {
  return (
      <div>
          { /* Change code below this line */ }
          <Welcome  />
          { /* Change code above this line */ }
      </div>
  );
}
};

class Welcome extends React.Component {
constructor(props) {
  super(props);

}
render() {
  return (
      <div>
        { /* Change code below this line */ }
        <p>Hello, <strong></strong>!</p>
        { /* 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/95.0.4638.54 Safari/537.36

Challenge: Access Props Using this.props

Link to the challenge:

Hi,
In the welcome tag you need to define a name and give a string to it( it can be anything). Then access that name in the p tag.
Follow this guideline here and you can pass the challenge.

class App extends React.Component {

  constructor(props) {

    super(props);

  }

  render() {

    return (

        <div>

            { /* Change code below this line */ }

            <Welcome name={" "}/>

            { /* Change code above this line */ }

        </div>

    );

  }

};

class Welcome extends React.Component {

  constructor(props) {

    super(props);

  }

  render() {

    return (

        <div>

          { /* Change code below this line */ }

          <p>Hello, <strong>{this.props.name}</strong>!</p>

          { /* Change code above this line */ }

        </div>

    );

  }

};

… do you have a question?

Thank you so much, I have completed the challenge

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.