-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (77 loc) · 2.69 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calcutor</title>
<link rel="stylesheet" type="text/css" href="cal.css">
</head>
<body>
<div id="calculator">
<h1>Calculator</h1>
<div id="display-container">
<p id="display"> </p>
</div>
<div id="buttons-container">
<div class="button" id="button-clear" data-value="ac">
<span>AC</span>
</div>
<div class="button" id="button-sign" data-value="sign">
<span>+/-</span>
</div>
<div class="button" id="button-percent" data-value="%">
<span> % </span>
</div>
<div class="button red" data-value="/" id="button-divide">
<span> / </span>
</div>
<div class="button" id="button-seven" data-value="7">
<span>7</span>
</div>
<div class="button" id="button-eight" data-value="8">
<span>8</span>
</div>
<div class="button" id="button-nine" data-value="9">
<span>9</span>
</div>
<div class="button red" id="button-multiply" data-value="*">
<span>*</span>
</div>
<div class="button" id="button-four" data-value="4">
<span>4</span>
</div>
<div class="button" id="button-five" data-value="5">
<span>5</span>
</div>
<div class="button" id="button-six" data-value="6">
<span>6</span>
</div>
<div class="button red" id="button-minus" data-value="-">
<span>-</span>
</div>
<div class="button" id="button-one" data-value="1">
<span> 1 </span>
</div>
<div class="button" id="button-two" data-value="2">
<span> 2 </span>
</div>
<div class="button" id="button-three" data-value="3">
<span> 3 </span>
</div>
<div class="button red" id="button-plus" data-value="+">
<span> + </span>
</div>
<div class="button" id="button-zero" data-value="0">
<span> 0 </span>
</div>
<div class="button" id="button-decimal" data-value=".">
<span> . </span>
</div>
<div class="button red" id="button-equals" data-value="=">
<span> = </span>
</div>
</div>
</div>
<script src="cal.js"></script>
</body>
</html>