JCalc is a simple calculator web application built as part of The Odin Project's curriculum. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Addition: Perform addition operations with two numbers.
- Subtraction: Perform subtraction operations with two numbers.
- Multiplication: Perform multiplication operations with two numbers.
- Division: Perform division operations with two numbers.
- HTML
- CSS
- JavaScript
-
Clone the repository:
-
Navigate to the project directory:
cd JCalc
-
Open index.html in your web browser.
Enter the first number into the calculator's display using the number buttons. Select the desired operation (+, -, *, /) using the corresponding buttons. Enter the second number using the number buttons. Press the "=" button to perform the calculation and display the result. To perform another calculation, repeat steps 1-4.
Here are some potential future features and improvements for JCalc:
Support for more complex operations (exponents, square root, etc.). Enhanced user interface and styling. Keyboard support for input and control. History feature to store and display past calculations.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the JCalc GitHub repository.
-
This project was completed as part of The Odin Project's curriculum. You can find more information about the curriculum at theodinproject.com.
-
The design and implementation of this Rock Paper Scissors game were inspired by various online resources and tutorials.