Today i have created a simple calculator by using HTML,CSS and Javascript and i want to share it with you !

Code explanation :

  • Used a single function called myFunc() for getting user inputs
  • Used erase() function for erasing all data in myFunc()
  • Used run() function to show the reasult

If you spot a bug, please feel free to comment below.