-
Notifications
You must be signed in to change notification settings - Fork 0
/
bank.html
111 lines (107 loc) · 3.56 KB
/
bank.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- website title -->
<title>DOM Bank with Function Dashboard</title>
<!-- google font link -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
<!-- tailwind css cdn -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- custom css -->
<style>
* {
font-family: "Roboto", sans-serif;
}
</style>
</head>
<body>
<!-- header start -->
<header class="my-4">
<h1 class="text-center text-7xl font-bold underline">
Welcome to <span class="text-yellow-500">DOM BANK 2!!!!</span>
</h1>
</header>
<!-- main start -->
<!-- display section start -->
<section class="my-20 w-9/12 mx-auto">
<div class="grid grid-cols-3 gap-4">
<!-- deposit display box -->
<div class="bg-yellow-500 p-10 rounded-lg text-center">
<h4 class="font-bold text-5xl mb-5">Deposit</h4>
<h2 class="font-bold text-6xl">
$<span id="deposit-total">00</span>
</h2>
</div>
<!-- withdraw display box -->
<div class="bg-yellow-500 p-10 rounded-lg text-center">
<h4 class="font-bold text-5xl mb-5">Withdraw</h4>
<h2 class="font-bold text-6xl">
$<span id="withdraw-total">00</span>
</h2>
</div>
<!-- balance display box -->
<div class="bg-yellow-500 p-10 rounded-lg text-center">
<h4 class="font-bold text-5xl mb-5">Balance</h4>
<h2 class="font-bold text-6xl">
$<span id="balance-total">1000</span>
</h2>
</div>
</div>
</section>
<!-- deposit and withdraw section start -->
<section class="my-20 w-9/12 mx-auto">
<div class="grid grid-cols-2 gap-4">
<!-- deposit entry box -->
<div class="bg-yellow-500 p-8 rounded-lg">
<h2 class="font-semibold text-4xl mb-5">Please Deposit</h2>
<input
type="text"
placeholder="Please enter your deposit amount"
class="block w-9/12 px-4 py-3 mb-5"
id="deposit-field"
/>
<button
class="bg-zinc-800 px-3 py-2 rounded text-white font-semibold"
id="btn-deposit"
>
Submit
</button>
</div>
<!-- withdraw entry box -->
<div class="bg-yellow-500 p-8 rounded-lg">
<h2 class="font-semibold text-4xl mb-5">Please Withdraw</h2>
<input
type="text"
placeholder="Please enter your withdraw amount"
class="block w-9/12 px-4 py-3 mb-5"
id="withdraw-field"
/>
<button
class="bg-zinc-800 px-3 py-2 rounded text-white font-semibold"
id="btn-withdraw"
>
Submit
</button>
</div>
</div>
</section>
<!-- footer start -->
<footer class="bg-yellow-500 p-3">
<p class="text-center font-semibold text-2xl">
© 2023 DOM BANK 2. All rights reserved.
</p>
</footer>
<!-- External JS script -->
<script src="js/utilities.js"></script>
<script src="js/deposit.js"></script>
<script src="js/withdraw.js"></script>
</body>
</html>