Skip to content

A simple web-based calculator built with HTML, CSS (Tailwind), and JavaScript.

Notifications You must be signed in to change notification settings

mohadmn03/My_Simple_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Calculator

A simple web-based calculator built with HTML, CSS (Tailwind), and JavaScript.

Features

  • Basic arithmetic operations: Addition, Subtraction, Multiplication, and Division.
  • Responsive and styled using Tailwind CSS.
  • Dynamic button generation for numbers and operators.
  • Clear button to reset the calculation.

Technologies Used

  • HTML
  • Tailwind CSS
  • JavaScript

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/calculator-project.git
  2. Navigate to the project folder:
    cd calculator-project
  3. Open index.html in a browser.

Project Structure

calculator-project/
│── index.html   # Main HTML file
│── index.js     # JavaScript logic for calculator
│── src/
│   └── output.css  # Tailwind CSS file

Usage

  • Click on numbers to input values.
  • Click on operators (+, -, *, /) to perform calculations.
  • Press = to get the result.
  • Press Clear to reset the calculator.

Future Improvements

  • Add keyboard support for entering numbers and operations.
  • Improve styling and animations.
  • Handle edge cases for invalid inputs.

About

A simple web-based calculator built with HTML, CSS (Tailwind), and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published