-
Notifications
You must be signed in to change notification settings - Fork 0
Calculator
b0bb1e edited this page Oct 29, 2019
·
6 revisions
Started 7/27/19, Version 1 7/29/19
This is just a basic calculator, with +, -, x, /, ^, (, and ). There's also some helper buttons, like C (clear all), D (delete one), -> (move cursor right), and <- (move cursor left). The CSS is the basics to make it look like a moderately acceptable calculator. The real brains is the JS, which I thought of and just had to use.
An indicator below the equation shows at which point the user is working.
Bug fixes:
- close parentheses can no longer be added unless there are more open than close parentheses
- after the answer is calculated by the equals button, the in-code and display equations reset to be as if the answer was entered in
link: calculator
how to use: CLICK THE BUTTONS my goodness it's just a calculator what's the purpose of this section?