Skip to content

razanismai1/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

macOS Calculator Clone

A web-based calculator application that replicates the design and functionality of the macOS's native calculator app.

Features

  • Basic arithmetic operations (addition, subtraction, multiplication, division)
  • Percentage calculations
  • Positive/negative number toggle
  • Decimal point support
  • All Clear (AC) functionality
  • Clean, responsive design matching Apple's calculator aesthetics

Technologies Used

  • HTML5
  • CSS3 (Flexbox for layout)
  • JavaScript (Vanilla)

Project Structure

calculator/
│
├── index.html        # Main HTML structure
├── styles.css        # CSS styling
├── scripts.js        # JavaScript functionality
└── README.md        # Project documentation

Setup

  1. Clone the repository
  2. Open index.html in your preferred browser
  3. No build process or dependencies required

Development Status

  • HTML Structure
  • Basic CSS Styling
  • Calculator Layout
  • Display Alignment
  • JavaScript Implementation
  • Operation Logic
  • Testing
  • Final Styling Polish

Future Enhancements

  • Add scientific calculator mode
  • Implement keyboard support
  • Add calculation history
  • Dark/Light mode toggle

Contributing

Feel free to fork this project and submit pull requests for any improvements.

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors