Rock Paper Scissors Game - Built w/ Tailwind CSS
Design comparison
Solution retrospective
I seem to be getting the hang of JavaScript, but with more complexity comes more disorganization in the code. I tried to keep it simple by breaking down functions into smaller functions, but then it's easier to insert errors in the code or mistakenly repeat yourself (and then forget to change something...).
So, my question to you - what principals and practices do you use to keep your code neat and organized right from the beginning?
Any other feedback on my project is always appreciated!
Community feedback
- @AnnastrinPosted about 2 years ago
Great job! The game works perfectly! Regarding the code organization. You can try using React or another JavaScript framework. Also you can add node_modules to .gitignore so you don't need to store them on github.
1
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