Skip to content

AlexFlorides/javascript-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Calculator

AlexFlorides - javascript-calculator stars - javascript-calculator forks - javascript-calculator


A simple calculator built using vanilla HTML, CSS and JavaScript.

Controls / Functionality

  • Can be controlled using either mouse / touchscreen or by using the keyboard pressing the corresponding keys.

  • Decimal point can be inserted using both comma or dot key on the keyboard.

  • Backspace deletes last digit.

  • By keep pressing the equal operator will recalculate result based on the last operation.

  • Last operation will show up above the input box every time any of the operators is selected.

Demo

View site - GH Pages

javascript-calculator

Contributions

  • Feel free to suggest any improvements by creating an issue.

  • You can also work on an already open issue and pull request when finished, so I can review the changes and eventually merge them to the base branch.