Calculator with Object-Oriented-Programing -view on Netlify
This is a simple calculator application built using Object-Oriented Programming (OOP) principles in JavaScript.
- Addition, subtraction, multiplication, and division operations
- Decimal point support
- Clear and delete functionalities
- Keyboard support
To use this calculator app, simply download or clone the repository to your local machine.
git clone https://github.com/Muratozbk/Calculator-App-Project.git
To use the calculator app, open the index.html
file in your web browser. You can perform calculations using either the on-screen buttons or your keyboard. Here are the keyboard shortcuts:
0-9
- Enter numbers.
- Enter decimal point+
- Addition-
- Subtraction*
- Multiplication/
- DivisionEnter
or=
- Calculate resultBackspace
- Delete the last characterC
orEscape
- Clear the input
This calculator app was built using HTML, CSS, and JavaScript. The JavaScript code is structured using Object-Oriented Programming (OOP) principles, with a Calculator
class that handles the calculations.
This project is licensed under the MIT License - see the LICENSE file for details.
- This calculator app was inspired by the JavaScript Simplified Calculator project on JavaScript Simplified.