Skip to content

ozhasta/react-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Calculator

Don't count your fingers, use this calculator instead :)


React Calculator


Live Demo

Live demo here: ➡️ React Calculator

Description

I used useReducer, useEffect hooks in this project. Implemented CSS grid system. You can chain multiple calculations like: 30 + 12 * 3 - 1, also It's working with decimal points. There is functionality to use it with a keyboard or mouse (in mobile touching).

I ported my own vanilla JS version to React. If you want to see vanilla JS version of this project, click here


⌨ Installation

Command Action
git clone https://github.com/ozhasta/react-calculator.git Clone the repo
cd react-calculator Change directory to root of project
npm install Install dependencies
npm start Start local development server
npm build Build your production site to ./dist/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published