The Welcome component should display the string you pass as the name prop within strong tags. can't pass this one

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

  **Your code so far**
class App extends React.Component {
constructor(props) {
  super(props);

}
render() {
  return (
      <div>
          <Welcome name = "coding by ezra"/>
      </div>
  );
}
};

class Welcome extends React.Component {
constructor(props) {
  super(props);
}
render() {
  return (
      <div>
      <p> Hello,{this.props.name}<strong></strong>!</p>
    
      </div>
  );
}
};

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Access Props Using this.props

Link to the challenge:

HI @ezra1 !

Make sure to reread the error message very carefully.
The Welcome component should display the string you pass as the name prop within strong tags.

I don’t see anything in these strong tags here

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