Skip to content

realganu/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Calculator

A clean, responsive, and feature-rich calculator built with HTML, CSS, and JavaScript.
This project goes beyond basic arithmetic and provides advanced operations, memory functions, and a user-friendly interface — making it a solid example of front-end best practices.

Introduction

The Calculator is designed as a modern web-based calculator that combines simplicity with powerful features. It can handle basic arithmetic operations (addition, subtraction, multiplication, division) as well as advanced functions like square root, exponentiation, percentage calculations, and memory storage.

This project demonstrates modular code organization, input validation, responsive design, and maintainable front-end architecture. Ideal for learners, interview preparation, or showcasing front-end development skills.

Features

Basic Operations

  • Addition (+)
  • Subtraction (-)
  • Multiplication (×)
  • Division (÷)

Advanced Operations

  • Percentage (%)
  • Square root ()
  • Exponentiation ()
  • Memory functions:
    • MC – Clear memory
    • MR – Recall memory
    • M+ – Add to memory
    • M- – Subtract from memory

UI & UX

  • Clear, responsive layout
  • Mobile-friendly grid-based design
  • Color-coded buttons for better usability
  • Error handling for invalid inputs
  • Prevents duplicate decimal points

About

Calculator clean, responsive, and feature-rich built with HTML, CSS, and JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages