forked from sf-wdi-14/calculator_lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
41 lines (40 loc) · 1.14 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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="calculator.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<title>HTML Calculator</title>
</head>
<body>
<div id="container">
<div id="result_display">
<div id="operator_display"></div>
<div id="result_display_value"></div>
</div>
<div id="buttons_row_1" class="row">
<div class="button">1</div>
<div class="button">2</div>
<div class="button">3</div>
<div class="button">+</div>
</div>
<div id="buttons_row_2" class="row">
<div class="button">4</div>
<div class="button">5</div>
<div class="button">6</div>
<div class="button">-</div>
</div>
<div id="buttons_row_3" class="row">
<div class="button">7</div>
<div class="button">8</div>
<div class="button">9</div>
<div class="button">*</div>
</div>
<div id="buttons_row_4" class="row">
<div class="button">CLR</div>
<div class="button">0</div>
<div class="button">ENT</div>
<div class="button">/</div>
</div>
</div>
</body>
</html>