Skip to content

aar0gya/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Modern Calculator Web App

A sleek, responsive calculator built with pure HTML, CSS, and JavaScript. Features a beautiful glassmorphic UI with animated gradients and works flawlessly across all devices.

[Calculator Demo] Screenshot 2026-01-24 213008

โœจ Features

  • Responsive Design: Optimized for mobile, tablet, and desktop
  • Modern UI: Glassmorphic design with gradient animations
  • Keyboard Support: Full keyboard input (numbers, operators, Enter, Escape, Backspace)
  • Touch-Friendly: Large buttons optimized for mobile devices
  • Beautiful Animations: Smooth transitions and interactive button effects
  • No Dependencies: Pure vanilla JavaScript - no frameworks required

๐Ÿš€ Demo

Live Demo

๐Ÿ› ๏ธ Technologies Used

  • HTML5: Semantic markup
  • CSS3: Flexbox, Grid, Animations, Gradients
  • JavaScript (ES6): DOM manipulation, event handling

๐Ÿ“ฑ Screenshots

Desktop View

calculator web view

Mobile View

calculator mobile view

๐ŸŽฏ Key Highlights

  • Clean Code: Well-structured, commented, and maintainable
  • Cross-Browser Compatible: Works on Chrome, Firefox, Safari, Edge
  • Accessibility: Keyboard navigation support
  • Performance: Lightweight with fast load times
  • Modern CSS: Utilizes advanced features like backdrop-filter, gradients, and animations

๐Ÿƒ Quick Start

  1. Clone the repository
   git clone https://github.com/yourusername/calculator-app.git
  1. Navigate to the project
   cd calculator-app
  1. Open in browser
   open index.html

Or, simply double-click index.html.

๐Ÿ“‚ Project Structure

calculator-app/
โ”‚
โ”œโ”€โ”€ index.html          # Main HTML file
โ”œโ”€โ”€ style.css           # Styling and animations
โ”œโ”€โ”€ script.js           # Calculator logic
โ”œโ”€โ”€ screenshot.png      # Preview image
โ”œโ”€โ”€ README.md           # Documentation
โ””โ”€โ”€ LICENSE.md          # MIT License

๐Ÿ’ป Code Quality

  • Semantic HTML5
  • BEM-inspired CSS methodology
  • Clean, DRY JavaScript
  • Responsive breakpoints for all devices
  • Cross-browser tested

๐ŸŽจ Design Features

  • Animated gradient background with smooth color transitions
  • Glassmorphism effect with backdrop blur
  • Multi-layered shadows for depth and realism
  • Ripple effect on button interactions
  • Gradient buttons with glossy highlights

๐Ÿ“‹ Functionality

  • โœ… Basic arithmetic operations (+, -, ร—, รท)
  • โœ… Decimal point support
  • โœ… Percentage calculations
  • โœ… Backspace/delete functionality
  • โœ… Clear display
  • โœ… Error handling
  • โœ… Keyboard shortcuts

๐Ÿ”ง Future Enhancements

  • Scientific calculator mode
  • History/memory functions
  • Theme switcher (dark/light)
  • Additional operations (square root, power)
  • Unit testing

๐Ÿ‘ค Author

Your Name

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE.md file for details.

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

โญ Show Your Support

Give a โญ๏ธ if you like this project!


Built with โค๏ธ using HTML, CSS & JavaScript

Releases

No releases published

Packages

 
 
 

Contributors