A simple yet sleek calculator built with vanilla JavaScript, HTML, and CSS.
This project features a custom-built calculation function and a stylish neo-hacking aesthetic.
- 🔢 Custom calculation function:
- Splits input, detects the operator, and performs the correct math operation
- 🎨 CSS Grid layout for clean, responsive design
- 🖤 Neo-hacking theme with a cyber-inspired font and color scheme
- 💻 Built using:
- HTML
- CSS (Grid)
- JavaScript
Instead of using eval() or third-party libraries, the calculator uses a homemade parser:
- User enters a mathematical expression.
- Input is split into operands and operator.
- The function evaluates the expression based on the detected operator (
+,-,*,/, etc.).
- Clone the repository:
git clone https://github.com/GeorgeZisis95/calculator.git