Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Modern Calculator

A fully interactive Calculator Web App built with HTML, CSS, and JavaScript, featuring an animated conic-gradient border, clean layout, and responsive controls. The project includes a start screen, a polished UI, and optimized event handling to ensure smooth and efficient performance.


โœจ Features

  • Animated conic-gradient border with smooth rotation
  • Clean dark UI with soft shadows and rounded buttons
  • Responsive design suitable for all screen sizes
  • Real-time calculations with support for AC, DEL, operators, and equal
  • Safe evaluation with error handling for invalid inputs
  • Optimized event handling using a listenersAttached flag to avoid duplicate listeners

๐Ÿ“‚ Project Structure

๐Ÿ“ฆ Calculator App
โ”‚โ”€โ”€ index.html
โ”‚โ”€โ”€ style.css
โ”‚โ”€โ”€ script.js

๐Ÿ› ๏ธ Technologies Used

  • HTML5
  • CSS3
  • JavaScript

๐Ÿš€ How It Works

  • The calculator remains hidden until the user clicks Start.
  • When activated, the user can click buttons to build a calculation string.
  • Pressing = evaluates the expression safely using try/catch.
  • AC clears the display, DEL removes the last character, and operators append to the expression.
  • CSS animations run smoothly using @property and conic gradients to create a glowing rotating border.

๐Ÿ“ธ Preview

Calculator UI

๐Ÿ“ฅ Getting Started

  1. Clone the repository.
  2. Open index.html in your browser.
  3. Click Start and begin using your calculator.

About

๐Ÿงฎ Sleek modern calculator with animated glowing border and smooth interactions. Built with pure HTML, CSS & Vanilla JS โ€“ responsive, lightweight, no dependencies!

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages