This project contains a calculator implemented in JavaScript, providing an easy-to-use calculator for inclusion in various projects.
To integrate this calculator into your project, follow these steps:
- Add the following tag in your HTML file:
<div id="box-calculator"></div>
- Include the calculator.js file at the end of your HTML document:
<script src="calculator.js"></script>
git clone 'https://github.com/Jhoan5/Calculator-vanilla-JS.git'
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().
Feel free to contribute to this project by forking it and implementing your improvements.
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.