Solution - #3857
Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Your solution is approved. The App renders three people by passing the entire person objects to the Person component with the correct <Person person={...} /> usage, and no constants were altered. In Person, you destructure props correctly, conditionally render age, and handle married/unmarried cases with appropriate spouse labels (“wife”/“husband”). Required class names are used, and the conditional logic is clean and readable with properly formatted ternaries and separate variables for conditions. Everything aligns with the task requirements and checklist. Nice work keeping the implementation clear and consistent.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
DEMO LINK