Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmadonjo/calculator
https://github.com/emmadonjo/calculator
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/emmadonjo/calculator
- Owner: emmadonjo
- License: gpl-3.0
- Created: 2020-05-22T11:31:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T09:37:16.000Z (over 4 years ago)
- Last Synced: 2024-11-10T23:29:22.634Z (2 months ago)
- Language: HTML
- Size: 284 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic calculator
#Author: Emmanuel Joshua | @emmadonjoI undertook this project to create a Basic Calculator as part of my #100DaysOfCode challenge. The experience has been wonderful. Had to learn CSS Grid and Flexbox, changing theme using CSS constants, etc.
Sorry, I had to use eval() function all through for most of the core calculations. I learnt "eval() is evil", but had to rely on it for the core functionality.
Nevertheless, everything worked just fine, but I feel improvements can be made. Notably, changing ++ from increment operator to addition operator (+) just as I have done with the decrement operator (--) which I changed to subtraction operator (-) for every occurrence.
Contributions are welcomed!