-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (44 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="normalize.css" type="text/css">
<link rel="stylesheet" href="styles.css" type="text/css">
<title>Calculator</title>
</head>
<body>
<main>
<div id="calculator">
<div id="display"></div>
<div class="rows" id="row1">
<button id="clear">Clear</button>
</div>
<div class="rows" id="row2">
<button class="operand" id="one">1</button>
<button class="operand" id="two">2</button>
<button class="operand" id="three">3</button>
<button class="operator" id="divide">/</button>
</div>
<div class="rows" id="row3">
<button class="operand" id="four">4</button>
<button class="operand" id="five">5</button>
<button class="operand" id="six">6</button>
<button class="operator" id="times">*</button>
</div>
<div class="rows" id="row4">
<button class="operand" id="seven">7</button>
<button class="operand" id="eight">8</button>
<button class="operand" id="nine">9</button>
<button class="operator" id="minus">-</button>
</div>
<div class="rows" id="row5">
<button class="operand" id="zero">0</button>
<button id="decimalPoint">.</button>
<button id="equalSign">=</button>
<button class="operator" id="plus">+</button>
</div>
<div>
</div>
<script src="scripts.js"></script>
</main>
</body>
</html>