Design comparison
SolutionDesign
Community feedback
- @KiranchaiPosted about 2 years ago
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 helpful0@pavan-hPosted about 2 years ago@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 GitHubJoin 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