free code camp advanced eleftheria

1. Javascript Calculator

Objective: Build a CodePen.io app that is functionally similar to this.

Instructions: Use whichever libraries or APIs you need. Give it your own personal style.

  • ♦ User Story: I can add, subtract, multiply and divide two numbers.
  • ♦ User Story: I can clear the input field with a clear button.
  • ♦ User Story: I can keep chaining mathematical operations together until I hit the equal button, and the calculator will tell me the correct output.

 

Solution:

 

Result

calculator eleftheria

 

 

2. Pomodoro Clock 

Objective: Build a CodePen.io app that is functionally similar to this.

Instructions: Use whichever libraries or APIs you need. Give it your own personal style.

  • ♦ User Story: I can start a 25-minute Pomodoro, and the timer will go off once 25 minutes has elapsed.
  • ♦ User Story: I can reset the clock for my next Pomodoro.
  • ♦ User Story: I can customize the length of each Pomodoro.

 

Solution

 

Result

 

3. Tic Tac Toe Game 

Objective: Build a CodePen.io app that is functionally similar to this.

Instructions: Use whichever libraries or APIs you need. Give it your own personal style.

  • ♦ User Story: I can play a game of Tic Tac Toe with the computer.
  • ♦ User Story: My game will reset as soon as it's over so I can play again.
  • ♦ User Story: I can choose whether I want to play as X or O.

 

Solution

 

Result

tic tac toe

 

4.  Build a Simon Game 

Objective: Build a CodePen.io app that is functionally similar to this.

Fulfill the below user stories. Use whichever libraries or APIs you need. Give it your own personal style.

  • ♦ User Story: I am presented with a random series of button presses.
  • ♦ User Story: Each time I input a series of button presses correctly, I see the same series of button presses but with an additional step.
  • ♦ User Story: I hear a sound that corresponds to each button both when the series of button presses plays, and when I personally press a button.
  • ♦ User Story: If I press the wrong button, I am notified that I have done so, and that series of button presses starts again to remind me of the pattern so I can try again.
  • ♦ User Story: I can see how many steps are in the current series of button presses.
  • ♦ User Story: If I want to restart, I can hit a button to do so, and the game will return to a single step.
  • ♦ User Story: I can play in strict mode where if I get a button press wrong, it notifies me that I have done so, and the game restarts at a new random series of button presses.
  • ♦ User Story: I can win the game by getting a series of 20 steps correct. I am notified of my victory, then the game starts over.

 

Solution

 

Result

simon game fcc eleftheria