In this tutorial we'll cover how to build a real simple Calculator using Javascript, HTML and CSS - without frameworks and without using the eval() method.
There are many many many ways of creating a Calculator in Javascript, but though that this might help get an easier grasp of some Javascript basics.
There are lots of ways to optimize and improved this calculator
Git repo here:
https://github.com/coding-mentorship-program/javascript-calculator/tree/calculator-final
Eval() function (no longer recommended)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval