8000 GitHub - polymathuniversata/Calculator-App
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

polymathuniversata/Calculator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

This is a simple calculator web application with an additional square root function.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division.
  • Square root function.

How to use

  1. Open index.html in your web browser.
  2. Use the buttons to input numbers and perform calculations.
  3. Press the "C" button to clear the display.

Running Tests

  1. Open tests/test.js in a text editor.
  2. Adjust the test cases as needed.
  3. Open index.html in your web browser.
  4. Open the browser console (usually by right-clicking and selecting "Inspect," then navigating to the "Console" tab).
  5. Run the tests by calling testCalculator() in the console.

Notes

  • Avoid using the calculator for complex calculations, as it's a simple example for learning purposes.
  • For educational purposes only.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0