This project is a faithful replication of the macOS calculator, built using HTML, CSS, and JavaScript. It aims to mimic both the appearance and functionality of the native macOS calculator application.
- Clone this repository:
git clone https://github.com/yevheniiushtyk/macos-calculator
- Navigate to the project directory:
cd macos-calculator
- Open
index.html
in your preferred web browser.
- Click on the calculator buttons to input numbers and perform operations.
- Use your keyboard for input:
- Numbers 0-9 for digit input
.
or,
for decimal point+
,-
,*
,/
for basic operationsEnter
or=
to calculate the resultBackspace
to delete the last digitEscape
orc
for ClearAlt (⌥) + Escape
for All Clear%
for percentage
Contributions, issues, and feature requests are welcome. Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License. See the LICENSE file for more information.
- Inspired by the macOS calculator application
- Font used: SF Pro Display