Skip to content

Pavith19/Simple_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub top language GitHub last commit ViewCount

Simple Calculator

A simple, user-friendly calculator application built with React. It supports standard arithmetic operations such as addition, subtraction, multiplication, and division. The user interface is straightforward and user-friendly, featuring buttons for digits, operations, and controls like clear (AC), delete (DEL), and evaluate (=).

Scientific Calculator


run-button

Features

  • Basic arithmetic operations: addition, subtraction, multiplication and division.
  • Clear all input (AC) and delete the last digit (DEL) functions.
  • Supports decimal numbers.
  • Automatically limits the number of digits for operands and results to ensure usability.
  • Responsive Design: Optimized for both mobile and desktop devices.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/simple-calculator.git
  2. Navigate to the project directory:

    cd simple-calculator
  3. Install the dependencies:

    npm install

Usage

  1. Start the development server:

    npm start
  2. Open your browser and navigate to http://localhost:3000 to see the calculator in action.

Project Structure

  • DigitButton.js: Component for digit buttons.
  • OperationButton.js: Component for operation buttons.
  • styles.css: CSS styles for the calculator.

🛠 Skills

React, JavaScript, CSS & HTML

Connect with me:

_mr_2001__ pavith-bambaravanage-465300293 @pavith_db pavith_db pavithd2020@gmail.com