A colleague challenged me to build a calculator, so I started this project on CodePen to practice JavaScript, CSS, and HTML.
When I was almost done a friend found a bug (1 + 1 + 1 = 11
) so I quickly made some changes to fix it. I ended up moving the project to GitHub and added some end-to-end tests using Cypress because after my quick fix 1 + 1 = 0
π
- Clone this repository.
git clone https://github.com/gmoraleslondono/retro-calculator.git
-
Run
npm install
in the repository root. -
Run
npm start
. -
Open
http://127.0.0.1:8080
π
Please make sure the following is done:
-
Fork the repository and create your branch from
main
. -
Run
npm install
in the repository root. -
If youβve fixed a bug or added code that should be tested, add tests!
-
Ensure the test suite passes (
npm test
). -
Format your code with prettier (
npm run prettier
). -
Make sure your code lints (
npm run eslint:check
).
Made with β€ by Gloria Morales
Thanks goes to these wonderful people (emoji key):
Gloria Morales π» π π¨ π |
Tomas Echeverri Valencia π π π» π€ π π π |
This project follows the all-contributors specification. Contributions of any kind welcome!