Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Excellent work on this task! Your solution is approved as it correctly meets all the functional requirements. The code successfully parses the data, performs the necessary calculations, and displays the formatted results as intended. I did notice one minor typo in src/scripts/main.js: the variable avarage should be spelled average. Fixing this will improve the code's readability. Keep up the great work!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Footnotes
| return prev + Number(item.innerHTML.replaceAll(',', '')); | ||
| }, 0); | ||
|
|
||
| const avarage = total / elements.length; |
There was a problem hiding this comment.
There's a small typo in the variable name avarage. It should be average. Using correct spelling for variable names improves the readability and maintainability of the code.
https://RuslanV23.github.io/js_get_data_DOM/