Skip to content

cdrani/react-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Calculator

Live: react-calculator

Purpose

Refamiliarize myself with react and create something practical which I would actually use. Additionally, I made use of big-js to deal with very large values and styled-components to style the components.

This calculator supports +, -, /, and x operations. Additionally, clear, percentage, and negation options are included. The ui is designed to closely resemble MacOS's basic calculator.

Preview

react calc preview

Setup

  1. Clone this repository
  2. cd into it
  3. yarn to download dependencies
  4. yarn start
  5. Open http://localhost:3000 to view it in the browser.