Repository navigation
add solution - #2381
add solution#2381olena0112 wants to merge 2 commits into
Conversation
olena0112
commented
Oct 25, 2026
- DEMO LINK
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Your solution is approved. All core functional requirements have been successfully implemented: the code retrieves population data from spans, converts comma-separated strings to numbers, calculates both total and average values correctly, and formats the output with thousands separators using toLocaleString(). The implementation correctly targets the .average-population and .total-population elements as specified. There is a minor variable naming typo (averege instead of average) that affects code readability but does not impact functionality—this is a non-blocking issue that you may want to clean up for better maintainability. The code passes all checks and meets the task requirements.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨