Skip to content

🔢 Dynamic JavaScript calculator featuring full keyboard support and enhanced security by avoiding eval(). Designed to provide a safe and user-friendly calculating experience.

License

Notifications You must be signed in to change notification settings

rafa-net/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Project

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.

Overview

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.

Features

  • 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.

Getting Started

Follow these simple steps to get a local copy up and running:

Prerequisites

  • Any modern web browser like Chrome, Firefox, or Edge.
  • A basic text editor like VSCode or Sublime Text.

Installation

  1. Clone the repo:
    git clone https://github.com/rafa-net/calculator.git
  2. Open the index.html file in your web browser to start using the calculator.

Usage

Operate this calculator as you would with any standard device:

  1. Interact with the on-screen buttons or utilize keyboard inputs for operations.
  2. Use "CE" to clear the last entry and "AC" for resetting the calculator.

Contributing

I am relatively new to open source endeavours, but as usual, any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Rafael Bueno: @rafa_8080

Project Link: Calculator

Acknowledgements

About

🔢 Dynamic JavaScript calculator featuring full keyboard support and enhanced security by avoiding eval(). Designed to provide a safe and user-friendly calculating experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages