https://www.theodinproject.com/courses/foundations/lessons/calculator
Final project for the Foundations course, an introductory course into HTML, CSS, and JavaScript.
Objective: To create a webpage based calculator that can process 2 number inputs with an operator input (i.e. 2 + 2) and display the answer.
- Must be able to process addition, subtraction, multiplication, and division.
- Cannot use the eval() function built into JavaScript.
- Have a clear button that will wipe out any existing data.
- Display an error message when trying to divide by 0.
- Add a decimal input to allow for entry of floating point numbers.
- Add a backspace button to delete the latest entry in case of an error in input.
- Add keyboard support.