Memory game using vanilla-js

Solution retrospective
I tried to make it entirely with vanilla JS, HTML and CSS without any framework or library to see the challenges that these frameworks and libraries solve with their approaches. I used Vite for building the application and deployed the build to firebase.
What challenges did you encounter, and how did you overcome them?I can see how easy it became to build an application with frameworks and libraries like Angular, React, etc. The data management, view updates and maintaining code all become so easy with these technologies. But at the same time, the core idea remains the same, and that is JavaScript. I faced some challenges, mostly with long lines of code, but that was also mostly solved with Vite. Also handling of events, with vite one problem is that we need to module script when using it in html, and we cannot use direct onclick event with these scripts. But somehow I managed to solve that as well.
What specific areas of your project would you like help with?I want to know how do other people manages the challenges that I have faced, like long lines of code, using module scripts while dealing with click events, etc.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on K Akash Rao's solution.
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