Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
I am approving your solution because it meets the core requirements: you locate the .dashboard table, iterate over the people array, create rows with six cells (name, gender, born, died, age, century), compute age as died - born, and compute century using Math.ceil(died / 100), then append the rows to the table body. Functionality appears correct and complete for the task’s main goals.
Minor improvement (non-blocking): the task mentions using console.log to inspect the people array. Consider adding console.log(people) near the start of src/scripts/main.js (around line 354 where you initialize the table generation) to make your debugging process explicit and align with the instruction. Everything else looks solid—nice work implementing the calculations and DOM updates cleanly.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
DEMO LINK