Submitted almost 2 years ago
Responsive, rock paper scissors game using SASS and vanilla JS
@wilderav86
Design comparison
SolutionDesign
Solution retrospective
Here is my solution for the Rock Paper Scissors Challenge.
I had a lot of fun making this. I found some of the styling to be tricky. Especially the game icons.
I'm wondering if my javascript is readable. The goal was to ensure each function doesn't do more than one or two things and to group all event listeners, functions, and selectors to keep everything organized.
If I were to refactor I would break up javascript into different modules to further organize everything.
Feedback is welcome!
Thanks!
Community feedback
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