/Calculator-vanilla-JS

calculator implemented in JavaScript, providing an easy-to-use calculator for inclusion in various projects

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Calculator-vanilla-JS

Calculator Image

About

This project contains a calculator implemented in JavaScript, providing an easy-to-use calculator for inclusion in various projects.

Installation

Into HTML

To integrate this calculator into your project, follow these steps:

  1. Add the following tag in your HTML file:
<div id="box-calculator"></div>
  1. Include the calculator.js file at the end of your HTML document:
<script src="calculator.js"></script>

Git bash

git clone 'https://github.com/Jhoan5/Calculator-vanilla-JS.git'

why This Calculator?

This calculator stands out for not relying on the eval() function to operate; instead, it utilizes regular expressions. By choosing this calculator, you avoid potential issues associated with using eval().

Contribute to This Project

Feel free to contribute to this project by forking it and implementing your improvements.

Fork

Now, there's a "Contribute to This Project" section with a badge that links to the fork page of your GitHub repository. Users can click on the badge to fork the project easily.