Skip to content

A feature-rich calculator application built using HTML, CSS, and JavaScript. This project enables users to perform basic arithmetic operations along with advanced functionalities, making it a versatile tool for everyday calculations.

License

Notifications You must be signed in to change notification settings

codingAjayKumar/3D-Calculator

Repository files navigation

3D Calculator

Overview :) Test The Website

The 3D Calculator is a powerful, web-based calculator designed to simplify both basic and advanced mathematical operations. With a clean and intuitive interface, it provides users with a seamless experience for performing calculations, making it ideal for students, professionals, and anyone in need of quick mathematical solutions.

Image Test on Device

Mobile

3D-Calculator Image 1

Tablet

3D-Calculator Image 2

Laptop

3D-Calculator Image 3

Key Features

  1. Basic Arithmetic Operations:

    • Addition (+)
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
  2. Advanced Calculations:

    • Percentage calculations (%)
    • Square root calculations ()
  3. Memory Functions:

    • Store Value: Save a current result for later use (M+)
    • Recall Value: Retrieve the stored value (MR)
    • Clear Memory: Clear the stored value (MC)
    • Subtract from Memory: Subtract a value from the stored memory (M-)
  4. Display and History:

    • A dedicated display for current input and results.
    • A history section to keep track of past calculations.
  5. Responsive Design:

    • Optimized for use on desktop, tablet, and mobile devices, ensuring accessibility for all users.

Technologies Used

The 3D Calculator is built using the following technologies:

  • HTML5: For structuring the application and creating a semantic layout.
  • CSS3: For styling the calculator, enhancing usability and aesthetic appeal.
  • JavaScript: For implementing the functionality of the calculator, including event handling and calculations.

Getting Started

To get started with the 3D Calculator, follow these steps:

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox, Safari, Edge)
  • Basic understanding of how to navigate files on your computer

Installation Steps

  1. Clone the Repository: Open your terminal or command prompt and run:
    git clone https://github.com/codingAjayKumar/3D-Calculator.git
    cd 3d-calculator
    
  2. Navigate to the Project Directory:
    cd 3d-calculator
  3. Open the index.html File: You can open the index.html file directly in your web browser. Alternatively, you can use a local server setup (like Live Server in VS Code) for a better experience.

File Structure

/3d-calculator
├── index.html         # Main HTML file
├── styles.css         # CSS file for styling the calculator
└── script.js          # JavaScript file containing the logic

How to Use

Basic Operations:

  • Click on the number buttons to input numbers.
  • Use the operator buttons to perform calculations.
  • Press = to see the result.

Advanced Functions:

  • Use % to calculate percentages.
  • Use to calculate the square root of the current number.

Memory Functions:

  • M+ to store the current display value in memory.
  • MR to recall the stored memory value.
  • MC to clear the stored memory.
  • M- to subtract the current display value from the stored memory.

Clear Display:

  • Press C to clear the current input.

Future Enhancements

  • Calculation History: Implement a feature to display a history of calculations.
  • Scientific Functions: Include more advanced mathematical functions such as trigonometric functions, logarithms, etc.
  • Improved User Interface: Enhance the UI with animations and better layouts.

Contributing

Contributions are welcome! If you would like to contribute to the 3D Calculator, please fork the repository and submit a pull request.

  • Fork the repository.
  • Create a new branch for your feature.
  • Commit your changes.
  • Push to the branch and create a pull request.

Acknowledgments

  • Designed by: Ajay Kumar
  • Special thanks to the open-source community for their inspiration and support.

About

A feature-rich calculator application built using HTML, CSS, and JavaScript. This project enables users to perform basic arithmetic operations along with advanced functionalities, making it a versatile tool for everyday calculations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published