Skip to content

b0llull0s/Project-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project-Calculator

Overview

  • This project is part of The Odin Project's Foundations course.
  • This project is a simple calculator built with HTML, CSS, and JavaScript.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division.
  • Support for decimal numbers and floating-point calculations.
  • "Backspace" button to remove the last input character.
  • "Clear" button to reset the calculator.
  • Keyboard support for number entry, operators, backspace, and enter key for "=".
  • Handles errors when attempting to divide by zero.
  • Support chain calculations.
  • Rounds long decimal answers to prevent overflow on the screen.

Demo

Check out the live version of the project: Demo Link

How to Use

  1. Clone the repository to your local machine:
    git clone https://github.com/yourusername/calculator.git
  2. Open the index.html file in any web browser to start using the calculator.

About

For The Odin Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published