├── bitcoin └── bitcoin.js ├── madlibs └── madlibs.js ├── breakout └── breakout.js ├── bankAccount └── oo-bank-account.js ├── twitterClone └── twitter-clone.js ├── pomodoro └── pomodoro.js ├── JavaScriptTab ├── icon.png ├── manifest.json ├── index.html ├── css │ └── styles.css └── js │ └── main.js ├── toDo ├── script.js ├── index.html └── style.css ├── adventure └── choose-your-own-adventure.js ├── digitalClock └── digital-clock.js ├── snakeGame ├── index.html ├── sketch.js └── snake.js ├── eightBall └── magic-eight-ball.js ├── calculator ├── calculator.spec.js └── calculator.js ├── poker └── poker.js ├── blackjack └── blackjack.js ├── rockPaperScissors └── rock-paper-scissors.js ├── battleship ├── battleship.spec.js └── battleship.js ├── ticTacToe └── tic-tac-toe.js ├── checkers └── checkers.js ├── simon └── simon.js ├── chess └── chess.js ├── stockTrader └── stock-trader.js ├── connectFour └── connect-four.js ├── mineSweeper └── minesweeper.js ├── scrabble └── scrabble.js ├── hangman └── hangman.js └── README.md /bitcoin/bitcoin.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /madlibs/madlibs.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /breakout/breakout.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /bankAccount/oo-bank-account.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /twitterClone/twitter-clone.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /pomodoro/pomodoro.js: -------------------------------------------------------------------------------- 1 | 2 | let now = new Date().getTime(); 3 | -------------------------------------------------------------------------------- /JavaScriptTab/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongdan/beginner-js-projects/HEAD/JavaScriptTab/icon.png -------------------------------------------------------------------------------- /toDo/script.js: -------------------------------------------------------------------------------- 1 | class Model { 2 | constructor() {} 3 | } 4 | 5 | class View { 6 | constructor() {} 7 | } 8 | 9 | class Controller { 10 | constructor(model, view) { 11 | this.model = model 12 | this.view = view 13 | } 14 | } 15 | 16 | const app = new Controller(new Model(), new View()) 17 | -------------------------------------------------------------------------------- /adventure/choose-your-own-adventure.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | const printStory = () => { 4 | // present user with storyline based on their choice 5 | } 6 | 7 | const queryUser = () => { 8 | // ask user how they would like to proceed 9 | } 10 | 11 | const startGame = () => { 12 | // initiate game play 13 | printFirstStory(); 14 | } 15 | -------------------------------------------------------------------------------- /JavaScriptTab/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "JavaScript Tips Tab", 3 | "manifest_version": 2, 4 | "description": "Codecademy JavaScript tips when you open a new tab in Chrome", 5 | "version": "0.0.0.1", 6 | "permissions": ["management"], 7 | "chrome_url_overrides": { 8 | "newtab": "index.html" 9 | }, 10 | "icons": { 11 | "128": "icon.png" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /digitalClock/digital-clock.js: -------------------------------------------------------------------------------- 1 | const standardOrTwentyFourHour = () => { 2 | // prompts user for preference of clock format - 24hr or standard 3 | } 4 | 5 | const getCurrentTime = () => { 6 | // gets current time and returns it in datetime format 7 | let now = new Date(); 8 | return now; 9 | } 10 | 11 | const displayClock = () => { 12 | // appends clock digits to main div in window 13 | } 14 | 15 | displayClock(); 16 | -------------------------------------------------------------------------------- /toDo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |