Create calculator in easy steps:

1.Open the notepad.:

2. enter the following code:

  Calculadora HTML             <input type="button" value="-" onClick="document.calculator.ans.value+='-'"> <input type="button" value="+" onClick="document.calculator.ans.value+='+'"> <input type="button" value="*" onClick="document.calculator.ans.value+='*'"> <input type="button" value="/" onClick="document.calculator.ans.value+='/'">

<input type="button" value="0" onClick="document.calculator.ans.value+='0'"> <input type="reset" value="Reset"> <input type="button" value="=" onClick="document.calculator.ans.value=eval(document.calculator.ans.value)"> <br>El resultado es<input type="textfield" name="ans" value=""> </form> </body> </html>

4.press "file".

5.Open "save as".

6.Put the name

"calc.HTML"

7.Open the file.