Skip to content

ankithabangar/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Project

This is a simple calculator project built using HTML, CSS, and JavaScript. It provides basic arithmetic operations such as addition, subtraction, multiplication, division, and modulus. The calculator has a clean and user-friendly interface.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Modulus
  • Clear display
  • Clear all values

Usage

To use the calculator, you can access it through GitHub Pages:

  1. Open the Calculator page in your web browser.
  2. Click on the numbers and operators to input your expression.
  3. Click "=" to see the result.
  4. Use "C" to clear the current input.
  5. Use "AC" to clear all values.

Files Included

  • index.html: HTML file containing the structure of the calculator.
  • style.css: CSS file for styling the calculator interface.
  • script.js: JavaScript file containing the functionality of the calculator.

How It Works

The calculator works by taking input from the user through button clicks and updating the display accordingly. It stores the operands and operator to perform the calculation when the "=" button is clicked. The result is then displayed on the screen.

Acknowledgments

Special thanks to The Odin Project for guidance and support during the development of this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published