Skip to content

Ajaykumar-dev-07/simple-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

🎛️ Simple Calculator

Welcome to the Simple Calculator project! This web-based calculator is designed with a clean and responsive interface using HTML, CSS, JavaScript, and Bootstrap. It’s perfect for performing basic arithmetic operations and is easy to customize and extend.


✨ Features

  • Responsive Design: Utilizes Bootstrap to ensure a sleek appearance on all devices.
  • Basic Arithmetic: Supports addition, subtraction, multiplication, and division.
  • Clear and Delete: Easily clear the entire display or delete the last character.
  • User-Friendly Interface: Intuitive layout with clearly labeled and color-coded buttons.
  • Extendable Code: Modular structure allows for easy addition of new features.

🎥 Demo

Check out the live demo: Live Demo

Calculator Preview


🛠️ Installation

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Basic knowledge of HTML, CSS, and JavaScript

Steps

  1. Clone the Repository:

    git clone https://github.com/ajaykumar-dev-07/simple-calculator.git
  2. Navigate to the Project Directory:

    cd simple-calculator
  3. Open the Project: Open the index.html file in your preferred web browser.


🚀 Usage

  • Input: Click the numeric and operator buttons to input your expression.
  • Clear: Use the C button to reset the display.
  • Delete: Use the button to remove the last input character.
  • Calculate: Press the = button to evaluate the expression.

🎨 Customization

Colors & Themes

  • Bootstrap Classes: Modify the Bootstrap classes in index.html and style.css to change the button colors, sizes, and overall theme.
  • Custom CSS: Add your own styles in style.css to override Bootstrap defaults.

Layout Adjustments

  • Grid System: Adjust the button layout and spacing using Bootstrap's grid system (col-3, col-6, etc.).
  • Additional Features: Extend the functionality by adding new operations or features in script.js.

🗂️ Project Structure

├── index.html      # HTML structure with Bootstrap integration   # Custom CSS for additional styling
└── script.js       # JavaScript logic for calculator functionality

About

Simple Calculator is a web-based application built with HTML, CSS, JavaScript, and Bootstrap. It features a clean, responsive design that supports basic arithmetic operations like addition, subtraction, multiplication, and division.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages