-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
47 lines (41 loc) · 1.42 KB
/
calculator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
<title>Calc</title>
<link href='style.css' rel='stylesheet'>
</head>
<body>
<form name="calc" class="calc">
<input type="text" id="statement" value=""></input>
<br>
<input type="button" value="("></input>
<input type="button" value=")"></input>
<input type="button" value="C" class="erase"></input>
<input type="button" value="^"></input>
<br>
<input type="button" value="7"></input>
<input type="button" value="8"></input>
<input type="button" value="9"></input>
<input type="button" value="/"></input>
<br>
<input type="button" value="4"></input>
<input type="button" value="5"></input>
<input type="button" value="6"></input>
<input type="button" value="*"></input>
<br>
<input type="button" value="1"></input>
<input type="button" value="2"></input>
<input type="button" value="3"></input>
<input type="button" value="-"></input>
<br>
<input type="button" value="0" class="zero"></input>
<input type="button" value="."></input>
<input type="button" value="+"></input>
<br>
<input type="button" value="=" class="equals"></input>
<input type="button" value="←" class="backspace"></input>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="calc.js"></script>
</body>
</html>