Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple JavaScript Calculator

This is a simple calculator application built using HTML, CSS, and JavaScript. The project demonstrates basic web development skills, including DOM manipulation, styling with CSS, and implementing functionality using JavaScript.

Features

  • Perform basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Responsive user interface designed for simplicity and usability.
  • Clear the display or compute the result using the provided buttons.
  • Styled using modern CSS for a sleek and user-friendly appearance.

Screenshots

Calculator Interface

Technologies Used

  • HTML5: Markup structure for the calculator.
  • CSS3: Styling and layout of the calculator.
  • JavaScript: Logic for the calculator's functionality.

Setup and Usage

  1. Clone this repository or download the project files.
  2. Open index.html in any modern web browser.
  3. Use the calculator to perform basic arithmetic operations.

How It Works

  • HTML: Provides the structure of the calculator, including the input display and buttons.
  • CSS: Styles the calculator with a responsive layout and visually appealing design.
  • JavaScript:
    • appendToDisplay(input): Adds input to the display.
    • clearDisplay(): Clears the calculator's display.
    • calculate(): Evaluates the expression entered in the display.

License

This project is licensed under the MIT License. You are free to use, modify, and distribute this project.

Contributions

Contributions are welcome! If you'd like to improve the calculator or fix issues, feel free to submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages