Skip to content

avnirastogi14/Apple-Calc-Dupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

This is a simple calculator web application that mimics the design and functionality of the Apple Calculator App in portrait mode (pre-iOS 18). It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division, with an intuitive and visually appealing interface.

Features:

  • Clear display (AC)
  • Toggle between positive and negative (+/-)
  • Percentage calculation (%)
  • Basic operations: Addition, Subtraction, Multiplication, Division
  • Equal sign (=) for performing calculations

Technologies Used:

  • HTML: Structure of the calculator interface
  • CSS: Styling to replicate Apple's calculator design with a dark theme and rounded buttons
  • JavaScript: Handles the calculator's logic and operations

Files in this Repository:

  1. index.html
    This file contains the structure of the calculator interface and links the CSS and JavaScript files. :contentReference[oaicite:0]{index=0}

  2. style.css
    Defines the design and appearance of the calculator, styled similarly to Apple's calculator app (pre-iOS 18). :contentReference[oaicite:1]{index=1}

  3. script.js
    Handles the interactive features and operations of the calculator, including clearing inputs, performing arithmetic, and evaluating expressions. :contentReference[oaicite:2]{index=2}

How to Use:

  1. Clone this repository to your local machine:
    git clone https://github.com/avnirastogi14/calculator.git

Releases

No releases published

Packages

No packages published