Skip to content

add task solution - #1905

Open
zxromxnd wants to merge 1 commit into
mate-academy:masterfrom
zxromxnd:develop
Open

zxromxnd wants to merge 1 commit into
mate-academy:masterfrom
zxromxnd:develop

Conversation

@zxromxnd

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

Your solution successfully implements all required functionality. The table correctly displays all 6 columns (name, gender, born, died, age, century) with accurate calculations using person.died - person.born for age and Math.ceil(person.died / 100) for century. Rows are properly found via document.querySelector('.dashboard') and appended using table.appendChild(tr) in a forEach loop. While the people array is defined inline rather than imported from people.json, the data structure matches the expected format and the code produces the correct output. The core requirements are met and functionality is not broken.


✨ 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