React-Calculator by Raquel
Table of Contents
This repository contains a simple calculator web application built using React, JavaScript and Mathjs. The application provides basic arithmetic functionality, allowing users to perform addition, subtraction, multiplication, and division operations. It also includes error handling for invalid input.
- User-Friendly Interface: The calculator has a clean and intuitive interface, making it easy for users to input and evaluate mathematical expressions.
- Arithmetic Operations: Users can perform standard arithmetic operations, including addition, subtraction, multiplication, and division.
- Error Handling: The application handles errors gracefully, providing informative alerts for scenarios such as incomplete expressions or invalid operations.
You can try the app live here
-
Conditional Rendering: Implemented conditional rendering based on user input to handle scenarios like the last character being an operator, ensuring proper expression building.
-
Error Handling: Developed a robust error-handling mechanism to handle scenarios where the user attempts to evaluate an incomplete expression or performs an invalid operation.
Clone the repository to your local machine:
Change the working directory to the project's root folder:
cd calculator-app
Install the required dependencies:
npm install
Start the development server:
npm start
The app should now be running on http://localhost:3000/.
If you wish you can download it, you choose
- Feature Expansion: Exploring opportunities to add additional features or functionalities to the calculator to enhance its capabilities.
- Code Optimization: Identifying and implementing optimizations to enhance the codebase for better performance and maintainability.
- Test Implementation: Planning to incorporate testing strategies to ensure the robustness and reliability of the application.
- Error Handling Enhancements: Resolving issues related to longer and more complex calculations to ensure accurate and reliable results.
- Feedback Incorporation: Actively seeking user feedback and incorporating valuable suggestions to improve the overall application.
I am Raquel, I consider myself a person with a great sense of humor, always eager to learn, a lover of challenges and this combination is what led me to study web development.
If you want to know more about me or if you have a fun project and you need help we could work together, you can find me here