JS-Calculator

Overview

This calculator functions mainly in JavaScript with layout and style using HTML and CSS. Can do most basic calculator functions.

Functionality

All Clear button calls clear function and clears output.

Delete button calls delete function and removes right most character.

Swap Operation button calls swap operations function to switch current operand to negative or positive.

Operation buttons calls the Choose Operation function to determine what operation to use for the computation.

Number buttons calls the Append number function to display in the output what numbers are inputted. Period also is included in the Append Number and only activates once.

Equal button calls the Compute function to evaluate the current and previous operand based on operation.