-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
22,531 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
/testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# React Calculator | ||
|
||
## Introduction | ||
|
||
This project serves as a practical application of the skills acquired through beginner and advanced React courses provided by Meta. It is a sequential calculator application built with React.js, Chakra UI, and the [bignumber.js](https://mikemcl.github.io/bignumber.js/) API. State management techniques are to keep the user interface synchronized with real-time data updates. | ||
|
||
## Features | ||
|
||
### Current | ||
|
||
* Performs basic arithmetic operations (addition, subtraction, multiplication, division, exponentiation) in sequential order. | ||
* Supports decimals. | ||
* Displays input in real-time. | ||
* Shows intermediate results with each operation key press, similar to Windows Calculator. | ||
* Clear button resets current value with one click and clears the entire equation with a second click. | ||
* Basic error handling for invalid operations. | ||
|
||
### Upcoming | ||
|
||
* Memory list to store previous equations and results. | ||
* Light/dark theme toggling. | ||
* Keyboard entry. |
Oops, something went wrong.