Skip to content

I've created a pixel-perfect iPhone calculator clone that matches all your requirements!

Notifications You must be signed in to change notification settings

imBharathkumarp/iPhone-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

📱 iPhone Calculator App

Netlify Status

A pixel-perfect clone of the iPhone calculator built using TypeScript, HTML, and CSS.
It replicates the design, UI animations, and functionality of the real iOS calculator — right inside your browser.


✨ Features

🎨 Design & UI

  • Exact iPhone styling with rounded buttons, accurate colors, and layout
  • Dynamic display that adjusts font size based on number length
  • Smooth animations (button press ripple effects, transitions)
  • 3D shadows and subtle hover effects for a polished look
  • Fully responsive design that works across devices

🧮 Functionality

  • All basic operations: +, , ×, ÷
  • Special functions: AC (clear), +/- (sign toggle), % (percentage)
  • iPhone-specific behaviors:
    • Operator chaining (perform multiple operations in sequence)
    • Replace operator (pressing a different operator updates it before calculation)
  • Handles edge cases: divide by zero, large numbers, repeated equals

🛠️ Tech Stack

  • TypeScript – calculator logic and state handling
  • HTML5 – semantic layout
  • CSS3 – modern styling with flexbox, variables, transitions

About

I've created a pixel-perfect iPhone calculator clone that matches all your requirements!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages