Solution - #2352
Solution#2352webdevnikfull wants to merge 2 commits into
Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Your solution is approved. You correctly gather all elements with the class population, sanitize and parse their values, handle invalid entries, compute both total and average, and write the results into the total-population and average-population spans. The outputs are properly formatted with thousands separators, matching the requirement for readable numbers. As a minor note for future improvement, if fractional populations could appear, consider parseFloat instead of parseInt, and ensure the rounding behavior for the average aligns with any project expectations. Overall, this meets the functional requirements and behaves robustly. Nicely done!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
No description provided.