Sammeeey / SlotMachine

basic React + Vite app imitating a slot machine

Home Page:https://slot-machine-r4d2.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SlotMachine

training tasks (react)

  • use props
  • pass different javascript data types as props (string, nnumber, object, array)
  • work with default prop values
  • use conditionals (render different frontend based on condition)
    • get comfortable with short circuits & ternary operators (used a lot in react)
  • (get comfortable using react dev tools)
  • add dynamic styles to components, using style attribute (also look at react docs tutorial for reference)
  • render arrays (lists) (using arr.map())
    • get comfortable working with .map() bc used a lot in react
  • slot machine exercise

next up practice approach

  • find small react basics exercises or prompt ChatGPT for some
  • copy other peoples apps

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

About

basic React + Vite app imitating a slot machine

https://slot-machine-r4d2.onrender.com/


Languages

Language:JavaScript 57.5%Language:CSS 34.1%Language:HTML 8.5%