Skip to content

AsimoLoveGym/JavaScript-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript-Calculator

This is a JavaScript project for Free Code Camp challenge

Didn’t use Javascript eval() method.

You can view the site here

How to Use:

Multiple and divide have no priority over minus and add, in this calculator, the calculating order is from left to right.

For example: 1+ 2 x 3 -1 = (1+ 2) x 3 -1 = 3 x 3 -1 = 9 -1 = 8

Not support for negative number input, but you can achieve any negative number by minus

For example: 1 - 3 = -2; and this result can be used for further calculation.

Reference:

Inspired by Free Code Camp (CodePen)

https://codepen.io/FreeCodeCamp/full/rLJZrA/

About

Implementation of calculator with JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors