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 = {Yikes22310} />
{ /* change code above this line */ }
</div>
);
}
};
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:76.0) Gecko/20100101 Firefox/76.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
What is the matter? Did I accidentally delete something I shouldn’t have?
Naomi
2
This line seems to be throwing your error. You are passing an object to the tempPassword when you should pass a string. 
Naomi
4
Oops!
Thank you for the clarification! 
Do they give me a variable that they want me to pass or do I have to make one?
Hello???
I am going to take a quick break. This is really stressing me out. Which is probably silly…but that is me.
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 = {123456789} />
{ /* change code above this line */ }
</div>
);
}
};
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:76.0) Gecko/20100101 Firefox/76.0.
Now what’s wrong? i fixed it somewhat.
You seem to not understand the difference between a string and a number. How do you represent a string in JavaScript?
“I am Dumb?” Is that a string in JS?