Design comparison
SolutionDesign
Community feedback
- @grifanoPosted 2 months ago
Great job! The code is well-organized and easy to read. I just have a couple of suggestions to share:
Try using const for variables that don’t change, and only use let when you know the value will be reassigned. It's a good practice for cleaner code. For SVG icons, there’s an interesting approach I learned in my full-stack course: using an SVG sprite. You can check out this article for a quick intro: https://medium.com/@sorlenk/introduction-to-svg-sprite-004a99bcd2bd.
Keep up the great work, and remember—every small improvement you make brings you one step closer to mastering your craft!
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