Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 852 Bytes

File metadata and controls

18 lines (13 loc) · 852 Bytes

React Calculator

This calculator was previous built with jQuery (https://github.com/vsan21/jQuery-Calculator), and has been improved and converted to React.

Components:

  1. Display - describes what I want to show on the browser (this also includes updating).
  2. Buttons - both numbers and operators
  3. Calculations - created a separate file just for the "equal" functionality (i.e. getting the result number)

Calculator

View and play with the calculator here: https://vsan21.github.io/React-Calculator/

If you would like to clone this project and run it on your own local machine, follow the steps:

  1. Copy the repo URL
  2. In your terminal, run git clone <URL>
  3. cd React-Calculator
  4. npm start or yarn start (this will host the application on localhost:3000)