×
×
Correct!
Complete this component which uses properties.
function Person(@(5)) {
return <h1>Hi, I'm {@(5).name}!</h1>;
}
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<Person name="Jesse"/>);
function Person(props) {
return <h1>Hi, I'm {props.name}!</h1>;
}
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<Person name="Jesse"/>);
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 24 exercises.
Are you sure you want to continue?