Creating a HTML Calculator

Do you want to know how to create your own calculator using HTML and Javascript? While you can use prompt and alert boxes like this:

<!DOCTYPE html>
<html>
   <head>
      <title>Calculator</title>
   </head>
<body>
<h1>Calculator</h1>
<script>
var x = prompt("Type the first number here");
var y = prompt("


Leave a Reply

Your email address will not be published. Required fields are marked *