Coders Packet

Simple Calculator using JavaScript

By Shruti Jukaria

In this project, we are going to build a simple arithmetic Calculator using HTML, CSS and JavaScript.

A simple calculator is built for basic arithmetic operations(addition, subtraction, multiplication, division) by using just HTML, CSS and JavaScript. 

This project consists of three files- an HTML file for the content like the interface of the calculator, a CSS file for styling and a javascript file for adding the functionalities to the calculator.

Here is an image of the calculator-


Here we have a '+', '-', '*' and '/' operator buttons. Along with that we have a '=' button to evaluate the result and a 'C' button to clear the window.

Download Complete Code


No comments yet