forked from devleague/Cash-Register
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (55 loc) · 2.75 KB
/
index.html
File metadata and controls
63 lines (55 loc) · 2.75 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<title>Cash Register</title>
</head>
<body>
<div id="cashRegisterBody">
<h1 id="title"><i class="fas fa-piggy-bank"> Cash Register</i></h1>
<div id="eqn">equation</div>
<div id="display">0</div>
<div id="buttons">
<div id="row1">
<input type="button" class="number" id="num7" value="7">
<input type="button" class="number" id="num8" value="8">
<input type= "button" class="number" id="num9" value="9">
<input type="button" class="operator" id="divide" value="÷">
<input type="button" class="operator" id="carrot" value="^">
</div>
<div id="row2">
<input type="button" class="number" id="num4" value="4">
<input type="button" class="number" id="num5" value="5">
<input type="button" class="number" id="num6" value="6">
<input type="button" class="operator" id="multiply" value="x">
<input type="button" class="function" id="balance" value="BAL">
</div>
<div id="row3">
<input type="button" class="number" id="num1" value="1">
<input type="button" class="number" id="num2" value="2">
<input type="button" class="number" id="num3" value="3">
<input type="button" class="operator" id="subtract" value="-">
<input type="button" class="function" id="deposit" value= "DEP">
</div>
<div id="row4">
<input type="button" class="number" id="num0" value="0">
<input type="button" class="number" id="num00" value="00">
<input type="button" class="number" id="decimal" value=".">
<input type="button" class="operator" id="add" value="+">
<input type="button" class="function" id="withdraw" value="W/D">
</div>
<div id="row5">
<input type="button" id="equal" value="=">
<input type="button" class="function" id="clear" value="C">
</div>
</div>
</div>
<script src = "./js/calculator2.js"></script>
<script src = "./js/cash_register.js"></script>
</body>
</html>