Skip to content

Kareem-Mohamed-Wardany/Simple-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator Website

This repository contains the source code for a simple calculator website. The project is built using HTML, SASS, and JavaScript, offering basic arithmetic operations in a clean and responsive design.


Features

Core Functionality

  • Perform basic arithmetic operations:
    • Addition (+)
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
  • Clear the input and start a new calculation.
  • Responsive and user-friendly interface.

Tech Stack

Frontend

  • HTML: Structure of the website.
  • SASS: For styling with modular and maintainable CSS.
  • JavaScript: Handles calculator functionality and user interactions.

Installation

  1. Clone the Repository

  2. Compile SASS (Optional) If you want to modify styles, make sure you have SASS installed and run:

sass styles.scss styles.css

  1. Open in Browser Open index.html in any modern web browser to use the calculator.

Usage

  1. Open the website in your browser.

  2. Use the buttons to perform arithmetic operations:

Enter numbers using the buttons.

Use the operators (+, -, *, /) for calculations.

Press = to display the result.


Future Enhancements

Add advanced operations, such as square root and percentage calculations.

Implement keyboard shortcuts for easier input.

Add dark mode toggle for better user experience.


Contributing

Contributions are welcome!

  1. Fork the repository.

  2. Create a new branch for your feature or bugfix.

  3. Submit a pull request with detailed information about your changes.


License

This project is licensed under the MIT License. See the LICENSE file for more details.


Acknowledgments

Thanks to the open-source community for inspiration and tools that made this project possible.

About

simple calculator that perform simple arithmetic operations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors