Skip to content

A Simple calculator made using React, Redux and React-Thunk + FontAwesome and Materialize.

License

Notifications You must be signed in to change notification settings

GrafSoul/react-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

A Simple calculator made using React, Redux and React-Thunk + FontAwesome and Materialize.


Install

git clone https://github.com/GrafSoul/react-calculator.git
cd react-calculator
yarn install
// or
npm install

Using

yarn start
// or
npm start

Build

yarn build
// or
npm build

Using the keyboard

You can use the keyboard to type numbers and signs.

| --------------------- | ------------------------ |
| Keys                  | Value                    |
| --------------------- | ------------------------ |
| 0 - 9                 | Set of numbers           |
| "+" and "-"           | Addition and subtraction |
| "\*"                  | Change the sign          |
| "/"                   | Division                 |
| "%"                   | Calculate percent        |
| "."                   | Dot                      |
| "`" | Change the sign |
| "=" or "Enter"        | Get the result           |
| "Backspace"           | Clear last char          |
| "C"                   | Keys "C" and "AC"        |
| "Q"                   | calculation х²           |
| "W"                   | calculation √            |
| "E"                   | The sine of the angle    |
| "R"                   | The cosine of the angle  |
| "T"                   | The tangent of an angle  |
| --------------------- | ------------------------ |

License

© 2020 | Simple Calculator | MIT licensed.

About

A Simple calculator made using React, Redux and React-Thunk + FontAwesome and Materialize.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published