shamimreza / JavaScript-Calculator

JavaScript Calculator for freecodecamp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript-Calculator

JavaScript Calculator for freecodecamp.com

Keyboard controls

  • To enter numbers and operators in to the calculator, you can press their respective keys on the Keyboard
  • AC Button - ESC Key
  • CE Button - Backspace/Delete key
  • "=" Button - Enter key

challenge details from FCC

Build a JavaScript Calculator

Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/FreeCodeCamp/full/rLJZrA/.

Fulfill the below user stories. 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.

Remember to use Read-Search-Ask if you get stuck.

When you are finished, click the "I've completed this challenge" button and include a link to your CodePen.

You can get feedback on your project by sharing it with your friends on Facebook.

About

JavaScript Calculator for freecodecamp.com


Languages

Language:JavaScript 50.4%Language:HTML 25.1%Language:CSS 24.5%