Skip to content

javierdebug/Scientific-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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