Welcome to the Calculator Application project! This simple yet efficient calculator, built using TypeScript, provides essential mathematical operations with an intuitive and user-friendly interface.
- Basic Operations: Perform addition, subtraction, multiplication, and division.
- Clear Functionality: Reset the current operation and start fresh.
- Error Handling: Manage division by zero and other invalid operations gracefully.
- Responsive Interface: Designed for use on any screen size.
- TypeScript: For strict typing and reliability in building the calculator logic.
- HTML5: For structuring the user interface.
- CSS3: For responsive design and layout styling.
- JavaScript: For additional interactivity.
Check out the live version of the Calculator Application here (replace with your hosted link).
Ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/ShashiShekharDixit/calculator-app.git cd calculator-app
-
Install dependencies:
npm install
-
Compile the TypeScript files:
npm run build
-
Run the application: Open the
index.html
file in your browser or serve it using a live server.
The calculator interface is straightforward to use:
- Click or type in numbers and operations.
- Hit the equals button
=
to get results. - Use the
C
button to clear the current input.
- Addition:
+
- Subtraction:
-
- Multiplication:
×
- Division:
÷
- TypeScript: For adding type safety to the calculator logic.
- Live Server: Optional, for running the HTML in a local development environment.
- Advanced Operations: Add support for square roots, powers, and percentages.
- Scientific Mode: Expand the calculator for scientific calculations.
- Themes: Add multiple themes for better customization.
- Keyboard Support: Improve interaction by adding full keyboard support.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push the branch (
git push origin feature-name
). - Open a pull request and describe your changes!
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to reach out if you have any questions or suggestions!
- Email: [email protected]
- Portfolio: https://github.com/ShashiShekharDixit/3_d-Portfolio
- LinkedIn: https://www.linkedin.com/in/shashi-shekhar-dixit-266aa825a/
- Twitter: https://x.com/shash90591
- GitHub: https://github.com/ShashiShekharDixit
Enjoy calculating! 🎉