Giter Site home page Giter Site logo

calculator's Introduction

Calculator

Calculator [personal project]

Issues I've faced and knowledge I've acquired

  1. The yellow box that would appear in vscode was preventing my equal sign from working when using my mouse to click on it. Switching my keyboard language and then typing the required signs in my js code fixed the encoding issue.

  2. Implemented sound for the first time in this website (added click sounds for whenever a button registers as pressed)

  3. Implemented new tab opening when clicking on a link.

  4. Error message wasn’t getting cleared out when clicking Clear on the button’s grid. Fixed it for now by going the nuclear option location.reload();

  5. Handling keyboard input that would be equally associated with mouse operations.

  6. My calculator screen was getting resized every time my error comes up(when dividing by 0). I fixed it by providing a min-height property to the error message’s CSS.

Live preview: https://tankengine-ish.github.io/Calculator/

calculator_screenshot

calculator's People

Contributors

tankengine-ish avatar

Watchers

 avatar

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.