Skip to content

sebzcode/JavaScriptCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JavaScript Calculator

A simple and responsive calculator built using HTML, CSS, and JavaScript. This project supports basic arithmetic operations like addition, subtraction, multiplication, and division.


πŸš€ Features

  • Clean and responsive UI
  • Perform basic arithmetic operations (+, -, Γ—, /)
  • Decimal support
  • Clear button (C) to reset input
  • Error handling for invalid inputs

πŸ› οΈ Technologies Used

  • HTML5 – for structure
  • CSS3 – for styling and layout
  • JavaScript (Vanilla JS) – for calculator logic

πŸ“‚ Project Structure

β”œβ”€β”€ index.html # Main HTML file
β”œβ”€β”€ styles.css # Styling for the calculator
β”œβ”€β”€ script.js # Calculator logic
└── README.md # Project documentation


⚑ How to Use

  1. Clone the repository:
    git clone https://github.com/sebzcode/JavaScriptCalculator.git
  2. Navigate into the project folder:
 cd JavaScriptCalculator
  1. Open index.html in your browser.

πŸ“– Future Improvements

  • Add keyboard support.
  • Implement advanced operations (square root, percentage, memory functions, etc.).
  • Improve responsive design for smaller screens.

πŸ‘¨β€πŸ’» Author

  • Developed by sebs

About

A simple calculator built with HTML, CSS, and JavaScript that performs basic arithmetic operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published