Skip to content

solution#3741

Open
mauroyuzo wants to merge 1 commit into
mate-academy:masterfrom
mauroyuzo:master
Open

solution#3741
mauroyuzo wants to merge 1 commit into
mate-academy:masterfrom
mauroyuzo:master

Conversation

@mauroyuzo
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your implementation correctly meets all task requirements. The Person component properly destructures props [CHECKLIST ITEM #1], formats ternary operators with each operand on separate lines [CHECKLIST ITEM #2], and uses a separate partnerLabel variable for the gender-based condition [CHECKLIST ITEM #3]. All edge cases are handled correctly: optional age display, gender-aware partner labels ("wife" for men, "husband" for women), and the "not married" message for unmarried persons. The component is rendered 3 times with the correct data, and all class names match the specification. Great work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants