ronliu / rock-paper-scissors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple Rock Paper Scissors game to practice basic JavaScript fundamentals.

Live preview: https://ronliu.github.io/rock-paper-scissors/

What I learned:

  • how to create functions in javascript
  • modifying strings and using ES6 template literals (`${expression}`)
  • how to write switch statements and for/while loops
  • interact with users through browser-specific functions (e.g. alert, prompt)
  • difference between abstract equality operator (==) and strict equality operator (===)

About


Languages

Language:JavaScript 96.8%Language:HTML 3.2%