https://github.com/agharsh53/simple-calculator
A simple calculator built using HTML, CSS and JavaScript
https://github.com/agharsh53/simple-calculator
calculator css html5 javascript javascript-calculator simple-calculator-js
Last synced: 6 months ago
JSON representation
A simple calculator built using HTML, CSS and JavaScript
- Host: GitHub
- URL: https://github.com/agharsh53/simple-calculator
- Owner: agharsh53
- Created: 2025-07-22T17:24:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-22T17:49:46.000Z (7 months ago)
- Last Synced: 2025-07-22T19:17:15.222Z (7 months ago)
- Topics: calculator, css, html5, javascript, javascript-calculator, simple-calculator-js
- Language: JavaScript
- Homepage: https://agharsh53.github.io/simple-calculator/
- Size: 57.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔢 Simple Calculator
A simple, fully functional calculator built using **HTML**, **CSS**, and **JavaScript** that performs basic arithmetic operations. Inspired by standard calculators, this app offers a clean UI and smooth interaction for quick calculations.
---
## 🎯 Features
- Responsive calculator interface
- Perform basic arithmetic operations:
- Addition `+`
- Subtraction `-`
- Multiplication `*`
- Division `/`
- Real-time display screen for input and results
- Clear (`C`) and backspace (`←`) buttons
- Decimal and percentage (`%`) support
- Error handling for invalid operations
---
## 🖼️ Preview

> Live demo: [Click here to try it out](https://agharsh53.github.io/simple-calculator)
---
## 🚀 Getting Started
### 📁 Clone the Repository
```bash
git clone https://github.com/your-username/simple-calculator.git
cd simple-calculator