Giter Club home page Giter Club logo

retro-calculator's Introduction

Retro Calculator

GitHub license Continuous Integration PRs Welcome All Contributors Known Vulnerabilities Maintainability FOSSA Status

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 πŸ™ˆ

Prerequisites

Development

How to run locally

  • 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 πŸš€

How to Contribute

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).

Credits

Made with ❀ by Gloria Morales

Contributors ✨

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!

License

FOSSA Status

retro-calculator's People

Contributors

gmoraleslondono avatar dependabot[bot] avatar techeverri avatar allcontributors[bot] avatar fossabot avatar

Watchers

 avatar  avatar

Forkers

fossabot

retro-calculator's Issues

Add keyboard support

Requirements

  • User can use keyboard to input numbers, operation
  • User can use keyboard to get result
  • User can use keyboard to clear

Add history

Requirements

  • User can see the previous calculations and results
  • User can use the previous result
  • User can clear the history

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.