Code Monkey home page Code Monkey logo

scientific-calculator's Introduction

Scientific Calculator

Live site: Scientific Calculator web app

About this project: Project developed using HTML, CSS and Vanilla JavaScript, it performs different Math functions one would use to resolve advanced Math calculations. I had to assure the quality of the calculator app, no failures should be present. The tricky part is that some Math calculations can be expressed very differently, some people may use many parentheses (or omit them), power, change sign (positive to negative or vice versa), so I must check many test cases to assure the calculator works as intended.

This is still a work in progress, I'm creating other functions and I can include more in the future, as a 2nd mode (many scientific calculators include it) or adding more rows at the top.

This is a responsive webapp, using Grid and Flexbox for layout and 'clamp()' functionality for font sizes, it's able to adapt to different screen sizes.

General view of the web app.

General screenshot of the Scientific Calculator

Some scientific Calculations. Note the app is able to perfom the calculation even is written incorrectly.

Calculator functionality

Other example of a malformed expression. It can fix some of the errors.

Fix some malformed expression

It will show an error for unfixable malformed math expressions

Showing error for malformed expression

History section of the Calculator

History section of the Calculator

Recover previous results and expressions

One of the main features of this Scientific Calculator web app is the possibility to recover previous generated expressions and results, and work with them to generate other math formula.

History section of the Calculator

Adaptable for small screen sizes.

This is a responsive (mobile friendly) app!

Responsive web app

scientific-calculator's People

Contributors

javierdebug avatar

Stargazers

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