Back to results
mate-academy/react_person(opens in a new tab)
Language: JavaScript
- stars
- 2
- watchers
- 8
- forks
- 3,572
- open issues
- 3,482
- Last updated
- 05/15/2025
Language: JavaScript
Implement a Person component rendering a person's details using the given markup
and use it 3 times inside the App instead of static markup.
<Person person={misha} /> (do not use individual fields);age if it is not present in the person object;wife; if a woman is married, refer to her partner as husband;Person.jsx match those used in App.jsx (Person, Person__name, Person__age, Person__partner).Important: The constants misha, olya, and alex are valid and should not be modified. Property age is optional.
npm test to ensure your solution is correct.<your_account> with your Github username in the DEMO LINK and add it to the PR description.