Hello ! Everyone…

Welcome to my blog. In this blog I would like to explain how to create a simple and smart calculator.

Calculation functionalities are achieved using JavaScript.

Hey! If you do not have a calculator, No need to worry about that. Come and join with me. Let’s create a calculator.

Special thing is the logic which we use here is very simple. This calculator will perform basic math operation. Such as addition, subtraction, multiplication and division.

Basically it consist of two parts.

—keyboard : for inputting values.

— display : for displaying user input values and solution.


Rashmi Hasinika Gamage

Undergraduate of University of Moratuwa, Faculty of Information Technology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store