-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (51 loc) · 2.3 KB
/
index.html
File metadata and controls
57 lines (51 loc) · 2.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ATM App</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="screen">
<div id="authenticate">
<div>Username <input class="loginField" type="text" id="username"></div>
<br>
<div>Password <input class="loginField" type="password" id="password"></div>
<br>
<button onclick="authenticatedUser()" id="authenticateBtn">Authenticate User</button>
</div>
<h3 id="authenticateResult1"></h3>
<h3 id="authenticateResult2"></h3>
<div id="selection">
<h3>What would you like to do today?</h3>
<button onclick="withdrawal()" class="selectionBtn" id="withdrawSelection">Withdraw</button>
<br>
<button onclick="deposit()" class="selectionBtn" id="depositSelection">Deposit</button>
<br>
<!-- <button onclick="checkBalance()" class="selectionBtn" id="checkNewBalance">Check Balance</button>
<br> -->
<button onclick="exit()" class="selectionBtn" id="exitSelection">Exit</button>
</div>
<br>
<div id="withdraw">
<div>Amount <input type="number" id="withdrawalNumber"></div>
<br>
<button onclick="withdrawal()" class="withdrawalBtn">Withdraw</button>
<button onclick="backToSect()" class="withdrawalBtn" id="backToSect">Back to Selections</button>
<h3 id="withdrawalResult"></h3>
</div>
<br>
<div id="deposit">
<div>Deposit <input type="number" id="depositNumber"></div>
<br>
<button onclick="deposit()" id="depositBtn">Deposit</button>
<button onclick="backToSect()" id="backToSect">Back to Selections</button>
<h3 id="depositResult"></h3>
</div>
<div id="finalScreen">
<h1 id="exitScreen">Thank you for using the ATM. Have a great day! ☀️ </h1>
<button onclick="loginUser()" id="login">Login</button>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>