-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (60 loc) · 2.64 KB
/
index.html
File metadata and controls
64 lines (60 loc) · 2.64 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
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="A simple JavaScript cash register application to calculate the exact change required for transactions." />
<meta name="keywords"
content="cash register, JavaScript cash app, transaction calculator, change calculator, basic JavaScript project" />
<meta property="og:title" content="Cash Register Project" />
<meta property="og:description"
content="A simple JavaScript cash register application to calculate the exact change required for transactions." />
<meta property="og:image" content="https://coderespite.com/image/js-projects/cash-register-project.png" />
<meta property="og:url" content="https://coderespite.com/projects/js-projects/cash-register-project" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Cash Register Project" />
<meta name="twitter:description"
content="A simple JavaScript cash register application to calculate the exact change required for transactions." />
<meta name="twitter:image" content="https://coderespite.com/image/js-projects/cash-register-project.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cash Register</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<main>
<img class="freecodecamp-logo" src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg"
alt="freeCodeCamp Logo" />
<h1>Cash Register Project</h1>
<div id="change-due"></div>
<div class="input-div">
<label for="cash">Enter cash from customer:</label>
<input type="number" id="cash" class="user-input" value="" />
<button class="check-btn-styles" id="purchase-btn">Purchase</button>
</div>
<div class="container">
<div class="top-display-screen-container">
<p id="price-screen" class="price-screen"></p>
<div class="connector"></div>
</div>
<div class="top-register">
<div class="btns-container">
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
<button class="square"></button>
</div>
<div id="cash-drawer-display" class="cash-drawer-display"></div>
</div>
<div class="bottom-register">
<div class="circle"></div>
</div>
</div>
</main>
<script src="./script.js"></script>
</body>
</html>