shivansh4565 / Codsoft-internship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Calculator

This is a simple calculator web application built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Clearing the input
  • Performing calculations with decimal numbers

Usage

To use the calculator, simply open the index.html file in your web browser. You will see a basic user interface with buttons for numbers (0-9), arithmetic operations (+, -, *, /), and a clear button (C) to reset the input.

  1. Click on the numbers and arithmetic operations buttons to input your calculation.
  2. Click on the "=" button to get the result.
  3. Click on the "C" button to clear the input and start a new calculation.

Development

If you want to contribute or modify the calculator, you can clone this repository to your local machine:

About


Languages

Language:HTML 53.5%Language:CSS 34.1%Language:JavaScript 12.5%