-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbank.html
124 lines (117 loc) · 4.43 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
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ABDs BANK</title>
<link rel="shortcut icon" href="icon.jpg" type="image/x-icon" />
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
</style>
</head>
<body>
<header class="my-12">
<h1 class="text-4xl sm:text-5xl font-bold text-center uppercase">
🏦 ABD's Bank
<span class="text-red-500 font-bold">Ltd</span>
</h1>
</header>
<main>
<section class=" mx-auto space-y-10">
<h2 class="text-3xl sm:text-4xl font-semibold text-center pt-10">
Lets get some
<span class="text-red-500 font-bold">Moooooney! 💸</span>
</h2>
<!-- DISPLAY AMOUNT STARTS-->
<div
class="w-[80%] grid grid-cols-2 gap-2 md:flex md:gap-x-5 text-left justify-center mx-auto py-10"
>
<div
class="p-4 sm:p-10 bg-yellow-400 text-white w-full text-left space-y-4 rounded-xl"
>
<h4 class="text-2xl font-semibold">Deposit</h4>
<h3 class="text-3xl sm:text-4xl">$<span id="deposit">0</span></h3>
</div>
<div
class="p-4 sm:p-10 bg-red-400 text-white w-full text-left space-y-4 rounded-xl"
>
<h4 class="text-2xl font-semibold">Withdraw</h4>
<h3 class="text-3xl sm:text-4xl">$<span id="withdraw">0</span></h3>
</div>
<div
class="p-10 bg-blue-300 text-white w-full text-left space-y-4 rounded-xl col-span-2 "
>
<h4 class="text-2xl font-semibold">Balance</h4>
<h3 class="text-4xl">$<span id="balance">20500</span></h3>
</div>
</div>
<!-- DISPLAY AMOUNT ENDS -->
<!-- Please deposit/withdraw AMOUNT box STARTS-->
<div class="w-[80%] grid grid-cols-1 gap-2 md:flex gap-x-5 text-left justify-center mx-auto pb-6">
<div
class="p-10 bg-sky-400 text-white w-full text-left space-y-4 rounded-xl"
>
<h4 class="text-4xl mb-10">Please Deposit</h4>
<div class="space-y-6 ">
<input
id="deposit-amount"
class="w-[80%] xl:w-[60%] px-4 py-2 rounded-md border-2 border-slate-300 focus:outline-none block text-slate-800"
type="number"
placeholder="$ amount you want to deposit" min="0"
/>
<button
id="deposit-button"
class="bg-blue-900 px-8 py-3 w-min rounded-md text-white font-medium hover:bg-yellow-400"
>
Deposit
</button>
</div>
</div>
<div
class="p-10 bg-zinc-600 text-white w-full text-left space-y-4 rounded-xl"
>
<h4 class="text-4xl mb-10">Please Withdraw</h4>
<div class="space-y-6 ">
<input
id="withdraw-amount"
class="w-[80%] xl:w-[60%] px-4 py-2 rounded-md border-2 border-slate-300 focus:outline-none block text-slate-800"
type="number"
placeholder="$ amount you want to withdraw" min="0"
/>
<button
id="withdraw-button"
class="bg-blue-900 px-8 py-3 w-min rounded-md text-white font-medium hover:bg-red-400"
>
Withdraw
</button>
</div>
</div>
</div>
<!-- Please deposit/withdraw AMOUNT box ENDS-->
</section>
</main>
<footer class="">
<section class=" w-full p-8 text-center sm:hidden bg-slate-800 bottom-0 ">
<div class=" text-slate-200 space-y-2 text-sm">
<p>You are on mobile 📱</p>
<p>try our latest app on:</p>
<img class="w-32 mx-auto" src="copyrightstore.png" alt="apps">
<p class="pt-3">Terms of Use • Privacy Policy</p>
<p class="text-slate-500">© ABD NIMIT || 2023</p>
</div>
</section>
</footer>
<!-- SCRIPTS TAGS -->
<script src="bank.js"></script>
</body>
</html>