Computer Science, asked by medagamersweb, 3 months ago

how to make calculator with html and javascript

Answers

Answered by raagavanandr
0

Answer:

i forgot

Explanation:

Answered by kaurrajwinder74605
0

Explanation:

In this series, we are going to be making a simple calculator with basic HTML, CSS and JavaScript. Our calculator will only able to perform basic math operations: addition, subtraction, multiplication and division. To better understand this tutorial you would need to have a little knowledge of HTML and CSS.

If you don’t already know them, no need to worry. I simplified this tutorial as best as I could, so you would survive :)

So what exactly do we need to build this?

As you might have already guessed, we would need to create “buttons” for inputting values and a screen for displaying these values.

Well, basically, that’s it!

But in fancier terms, these are the components we need:

· A display area for displaying operators, operands and solutions.

· Buttons for inputting values to the display screen

Visually, a calculator is a table enclosed in a container. And as you should already know tables are made of rows and columns with cells to contain table data.

Similar questions