Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Rock Paper Scissors Game - Built w/ Tailwind CSS

#tailwind-css#bem
Brian Schooler• 440

@superschooler

Desktop design screenshot for the Rock, Paper, Scissors game coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

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

Anastasia• 90

@Annastrin

Posted

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 GitHub
Discord logo

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