Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- #container{
- font-family:monospace;
- font-weight:bold;
- }
- </style>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- </head>
- </html>
- <h1>Fitz' HTML Calculator Demo!</h1>
- <html>
- <head>
- <title>Fitz Calc</title>
- </head>
- <body bgcolor= "#000000" text= "red">
- <form name="calculator" >
- <input type="button" value="1" onClick="document.calculator.ans.value+='1'">
- <input type="button" value="2" onClick="document.calculator.ans.value+='2'">
- <input type="button" value="3" onClick="document.calculator.ans.value+='3'">
- <input type="button" value="+" onClick="document.calculator.ans.value+='+'">
- <input type="button" value="4" onClick="document.calculator.ans.value+='4'">
- <input type="button" value="5" onClick="document.calculator.ans.value+='5'">
- <input type="button" value="6" onClick="document.calculator.ans.value+='6'">
- <input type="button" value="-" onClick="document.calculator.ans.value+='-'">
- <input type="button" value="7" onClick="document.calculator.ans.value+='7'">
- <input type="button" value="8" onClick="document.calculator.ans.value+='8'">
- <input type="button" value="9" onClick="document.calculator.ans.value+='9'">
- <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>Solution is <input type="textfield" name="ans" value="">
- </form>
- </body>
- </html>
- <h1><font color="green">If you like these, message me on Steam and I might be able to make something for you! I really enjoy code and programming in general.</font></h1>
- <h2><font color="blue">My Twitter: @renecare_Fitz</font></h2>
- <h2><font color="blue">My Steam URL (May be outdated. I change it alot for security): f1TzAuernHEIM</font></h2>
- <h3><font color="red">Below is the source for the calculator build</font></h3>
- <h3><font color="red">|</font></h3>
- <h3><font color="red">+</font></h3>
- <h3><font color="red">|</font></h3>
- <h3><font color="red">+</font></h3>
- <h3><font color="red">|</font></h3>
- <h3><font color="red">+</font></h3>
- <h3><font color="red">|</font></h3>
- <h3><font color="red">+</font></h3>
- <h3><font color="red">|</font></h3>
Advertisement
Add Comment
Please, Sign In to add comment