This repository contains the source code for a simple yet powerful calculator web application. This is the capstone project of the Foundations Course at The Odin Project, an amazing open-source resource for learning web development.
I've made this to show my skills in HTML, CSS, and JavaScript, demonstrating my ability to create functional, interactive web applications. This calculator not only supports basic arithmetic operations but also integrates advanced features for enhanced usability.
- Basic Arithmetic: Perform addition, subtraction, multiplication, and division.
- Extended Functionality: Supports floating-point calculations and error handling for a robust user experience.
- Memory Functions: Mimics the functionality of a physical calculator with options to clear the current entry (CE) and reset all operations (AC).
- Responsive Design: Fully functional on both desktop and mobile devices.
- Keyboard Support: Facilitates keyboard input for improved accessibility and ease of use.
Follow these simple steps to get a local copy up and running:
- Any modern web browser like Chrome, Firefox, or Edge.
- A basic text editor like VSCode or Sublime Text.
- Clone the repo:
git clone https://github.com/rafa-net/calculator.git
- Open the
index.html
file in your web browser to start using the calculator.
Operate this calculator as you would with any standard device:
- Interact with the on-screen buttons or utilize keyboard inputs for operations.
- Use "CE" to clear the last entry and "AC" for resetting the calculator.
I am relatively new to open source endeavours, but as usual, any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Rafael Bueno: @rafa_8080
Project Link: Calculator