jQuery Calculator


Functioning calculator made by using js logic.


February 2017

tools used

HTML, CSS & jQuery


Using basic jQuery to gather the first number by using text() method. Once an operator is pressed create a new number variable. Finally on click of equals combine the two numbers by if else statements making use of the operators between the two numbers.


Updating html on click, combining two variables, iF else statements, click functions & math operators.

See the Pen JS Calculator by Harry Beckwith (@fun) on CodePen.

← Back to all projects