My first JavaScript Project!!
A simple calculator application built with vanilla JavaScript, HTML, and CSS. This project allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
Try It Out Here!! Don't try it with decimals or percentages though ๐คญ These may added in a future update ๐
- Addition, subtraction, multiplication, and division operations
- Clear the current input
- Dynamic update of calculations
- Basic keyboard support for inputs
- Clone the repository:
git clone https://github.com/yourusername/calculator.git
- Navigate to the project directory:
cd calculator-main
- Open the project in VS Code:
code .
- Start Live Server:
- Open the
index.html
file. - Right-click on the file and select "Open with Live Server".
- Open the
- Open the application in your web browser via Live Server.
- Use the calculator interface to perform basic arithmetic operations.
- Click on the "C" button to clear the current input.
calculator-main/
โโโ .github/
โ โโโ workflows/
โ โโโ static.yml
โโโ .vscode/
โ โโโ settings.json
โโโ assets/
โ โโโ img/
โ โ โโโ Calculator.png
โ โ โโโ github-mark.png
โ โโโ styles/
โ โ โโโ main.css
โ โ โโโ typography.css
โ โ โโโ variables.css
โ โโโ .DS_Store
โโโ index.html
โโโ main.js
- .github/: Contains GitHub Actions workflows.
- .vscode/: Contains settings for VS Code.
- assets/: Contains images and styles for the application.
- img/: Icons and images used in the application.
- styles/: CSS files for styling the application.
- index.html: The main HTML file for the application.
- main.js: The JavaScript file containing the logic for the calculator.
Contributions are welcome! Please open an issue or submit a pull request for any changes or enhancements.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries, please reach out to:
- Dave - [email protected]
- GitHub: DaveJamieson