This project is a simple, yet powerful calculator that allows you to perform basic arithmetic operations such as addition, subtraction, multiplication, division, and more. It is written in HTML, CSS, and JavaScript, and uses a flex layout for the interface.
- Perform basic arithmetic operations
- Use of decimals and negative numbers
- Clear input and output fields with a single click
- Keyboard support added for TKL keyboards
The project includes the following files:
static/style.css
: This stylesheet controls the appearance of the calculator, including the font, colors, and layout.static/script.js
: This script handles the logic of the calculator, including the calculation of the result and the management of the input and output fields.index.html
: This is the HTML file for the calculator interface, which includes the layout and the buttons.
To make changes to the project:
- Edit the HTML and CSS files to modify the layout and styling of the calculator.
- Edit the JavaScript file to change the calculator's functionality.