-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (46 loc) · 2.61 KB
/
index.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
<html>
<head>
<title>
Calculator - madhurw7
</title>
<!--<script type="text/javascript" src = "script.js"></script>-->
<link rel="stylesheet" type="text/css" href = "style.css" />
</head>
<body>
<form>
<input id = "displayArea" value = "Everything appears here" type="text" class="resultFin">
<table>
<tr>
<td><button class = "buttons" id = "but1" type="button"> 1 </button></td>
<td><button class = "buttons" id = "but2" type="button"> 2 </button></td>
<td><button class = "buttons" id = "but3" type="button"> 3 </button></td>
<td><button class = "buttons" id = "butAdd" type="button"> + </button></td>
<td><button class = "buttons" id = "butOpen" type="button"> ( </button></td>
</tr>
<tr>
<td><button class = "buttons" id = "but4" type="button"> 4 </button></td>
<td><button class = "buttons" id = "but5" type="button"> 5 </button></td>
<td><button class = "buttons" id = "but6" type="button"> 6 </button></td>
<td><button class = "buttons" id = "butMinus" type="button"> - </button></td>
<td><button class = "buttons" id = "butClose" type="button"> ) </button></td>
</tr>
<tr>
<td><button class = "buttons" id = "but7" type="button"> 7 </button></td>
<td><button class = "buttons" id = "but8" type="button"> 8 </button></td>
<td><button class = "buttons" id = "but9" type="button"> 9 </button></td>
<td><button class = "buttons" id = "butM" type="button"> * </button></td>
<td><button class = "buttons" id = "butMod" type="button"> % </button></td>
</tr>
<tr>
<td><button class = "buttons" id = "butClear" type="button"> AC </button> </td>
<td><button class = "buttons" id = "but0" type="button"> 0 </button></td>
<td><button class = "buttons" id = "butResult" type="button"> = </button></td>
<td><button class = "buttons" id = "butDivide" type="button"> / </button></td>
<td><button class = "buttons" id = "butPoint" type="button"> . </button></td>
</tr>
</table>
</form>
<h1 id = "result" class = "resultFin"> Result Appears here </h1>
<script src="script.js" type="text/javascript"></script>
</body>
</html>