odin-codespace/calculator
smiggiddy 694c1f10dc
Some checks failed
Build and Push Docker Images / build (admin-dashboard) (push) Failing after 15s
Build and Push Docker Images / build (battleship) (push) Failing after 9s
Build and Push Docker Images / build (calculator) (push) Failing after 9s
Build and Push Docker Images / build (cv-project) (push) Failing after 9s
Build and Push Docker Images / build (inventory) (push) Failing after 10s
Build and Push Docker Images / build (library) (push) Failing after 10s
Build and Push Docker Images / build (messages) (push) Failing after 9s
Build and Push Docker Images / build (nodejs-mini-message-board) (push) Failing after 10s
Build and Push Docker Images / build (portfolio) (push) Failing after 9s
Build and Push Docker Images / build (restaurant) (push) Failing after 9s
Build and Push Docker Images / build (shopping-cart) (push) Failing after 9s
Build and Push Docker Images / build (signup_form) (push) Failing after 8s
Build and Push Docker Images / build (tictactoe) (push) Failing after 9s
Build and Push Docker Images / build (weather) (push) Failing after 9s
ready to deploy
2025-05-03 00:14:04 +00:00
..
css feat: add favicon and footer 2023-10-12 21:41:17 -04:00
devops ready to deploy 2025-05-03 00:14:04 +00:00
js inventory skeleton 2025-01-08 22:51:48 -05:00
faviocon.svg feat: add favicon and footer 2023-10-12 21:41:17 -04:00
index.html feat: add favicon and footer 2023-10-12 21:41:17 -04:00
README.md adding devops 2025-05-02 16:47:07 +00:00

Calculator Project

Description

This project is a web-based calculator application built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations like addition, subtraction, multiplication, and division.

Features

  • Basic Operations: Perform addition, subtraction, multiplication, and division.
  • Clear Functionality: Clear the display with a press of a button.
  • Responsive Design: Designed to work on various screen sizes.

Local Development

Prerequisites

  • Web browser (e.g., Chrome, Firefox, Safari)

Setup

  1. Clone the repository: If you haven't already, clone this repository to your local machine.

  2. Navigate to the project directory:

bash
    cd calculator
    

Running the Project

  1. Open index.html:

    • Open the index.html file in your web browser.
    • You can do this by right-clicking the file and selecting "Open with" and then your preferred browser.
  2. Interact with the Calculator:

    • Use your mouse or keyboard to interact with the calculator buttons.
    • The result will be displayed on the calculator's display area.

File Structure

calculator/
├── css/
│   └── style.css           # CSS styles for the calculator
├── js/
│   └── script.js          # JavaScript code for calculator logic
├── index.html              # Main HTML file
└── faviocon.svg             # icon

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.