Skip to content

A simple and responsive calculator application built with HTML, CSS, and JavaScript. This app supports basic arithmetic operations, keyboard input, and error handling. It is designed to work seamlessly on both desktop and mobile devices, providing a user-friendly interface for quick calculations.

Notifications You must be signed in to change notification settings

SadeepaNHerath/Calculator-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

A simple, functional calculator app built with HTML, CSS, and JavaScript. This app supports basic arithmetic operations such as addition, subtraction, multiplication, and division. It allows users to interact with the calculator using on-screen buttons or by typing numbers and operators directly from the keyboard.

Features

  • Basic Arithmetic Operations: Supports addition (+), subtraction (-), multiplication (*), division (/).
  • Clear Button: Allows users to clear the entire input with a single click (C).
  • Result Calculation: Calculates the result when users press = or hit Enter on the keyboard.
  • Keyboard Support: Users can type numbers and operators directly from the keyboard.
  • Responsive Design: Optimized for both desktop and mobile devices.
  • Error Handling: Displays an error message if the entered expression is invalid.

Technologies Used

  • HTML: For structuring the calculator layout.
  • CSS: For styling the calculator interface.
  • JavaScript: For handling the logic and operations of the calculator.

Screenshots

Screenshot 2024-12-04 225852

About

A simple and responsive calculator application built with HTML, CSS, and JavaScript. This app supports basic arithmetic operations, keyboard input, and error handling. It is designed to work seamlessly on both desktop and mobile devices, providing a user-friendly interface for quick calculations.

Topics

Resources

Stars

Watchers

Forks