Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Frontend Mentor - Expenses chart component solutio

#accessibility
Pavan H 180

@pavan-h

Desktop design screenshot for the Expenses chart component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

Haminimuri 200

@Kiranchai

Posted

Hey, I liked your solution for this challenge.

I would recommend you using 'forEach' loops instead of 'for' loops in these situations. I find it easier to read and it makes the JS file less complicated. There are several examples that will make it easier for you to understand: https://www.freecodecamp.org/news/javascript-foreach-js-array-for-each-example/

Also, I've done this challenge with use of 'forEach' loop, you can check it out in my solution.

Good luck in your future projects. Keep on!

Marked as helpful

0

Pavan H 180

@pavan-h

Posted

@Kiranchai hello thanks for suggesting i will definitely work on it that was quite helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord