This is a solution to the Rock, Paper, Scissors challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the game depending on their device's screen size
- Play Rock, Paper, Scissors against the computer
- Maintain the state of the score after refreshing the browser (optional)
- Bonus: Play Rock, Paper, Scissors, Lizard, Spock against the computer (optional)
- Solution URL: Solution URL
- Live Site URL: Live Site URL
- React - JS library
- TypeScript - JS Superset
- Tailwind CSS - Styles
I learned a ton about working with gradients, extending Tailwind CSS gradients, and usings gradients and filters with SVGs. I also learned about making modals from scratch. This project relied heavily on dynamic styles and ternary operators for the bonus mode.
- Radial-Gradient Support - Code to extend Tailwind CSS with radial gradients
- Gradients in SVG - This helped to learn the basics of SVG gradients, before extending to React SVG components
- Website - Justin Fowler Art