I think i have followed every instrauction But I still not passing to go the next question?

Tell us what’s happening:

Your code so far


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

}
render() {
  return (
      <div>
  { /* change code below this line */ }
          <p>Your temporary password is: <strong> {this.props.tempPassword}
          </strong></p>

  { /* change code above this line */ }
      </div>
  );
}
};

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

}
render() {
  return (
      <div>
        <h2>Reset Password</h2>
        <h3>We've generated a new temporary password for you.</h3>
        <h3>Please reset this password from your account settings ASAP.</h3>
  { /* change code below this line */ }
<ReturnTempPassword tempPassword="12345678"/>

   { /* change code above this line */ }
      </div>
  );
}
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0.

Challenge: Access Props Using this.props

Link to the challenge:
https://www.freecodecamp.org/learn/front-end-libraries/react/access-props-using-this.props

The ONLY thing within the strong tags should be a string of non-whitespace characters.

1 Like

It worked finally
thanks