-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (139 loc) · 4.7 KB
/
index.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/bankist/" />
<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="shortcut icon" type="image/png" href="images/icon.png" />
<link
href="https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>Bankist</title>
</head>
<body>
<!-- TOP NAVIGATION -->
<nav>
<p class="welcome">Log in to get started</p>
<img src="images/logo.png" alt="Logo" class="logo" />
<form class="login">
<input
type="text"
placeholder="User"
class="login__input login__input--user"
list="usernames"
/>
<datalist id="usernames">
<option value="js"></option>
<option value="jd"></option>
</datalist>
<!-- In practice, use type="password" -->
<input
type="text"
placeholder="PIN"
maxlength="4"
class="login__input login__input--pin"
list="pins"
/>
<datalist id="pins">
<option value="1111"></option>
<option value="2222"></option>
</datalist>
<button class="login__btn">→</button>
</form>
</nav>
<main class="app">
<!-- BALANCE -->
<div class="balance">
<div>
<p class="balance__label">Current balance</p>
<p class="balance__date">
As of <span class="date">05/03/2037</span>
</p>
</div>
<p class="balance__value">0000€</p>
</div>
<!-- MOVEMENTS -->
<div class="movements">
<div class="movements__row">
<div class="movements__type movements__type--deposit">2 deposit</div>
<div class="movements__date">3 days ago</div>
<div class="movements__value">4 000€</div>
</div>
<div class="movements__row">
<div class="movements__type movements__type--withdrawal">
1 withdrawal
</div>
<div class="movements__date">24/01/2037</div>
<div class="movements__value">-378€</div>
</div>
</div>
<!-- SUMMARY -->
<div class="summary">
<p class="summary__label">In</p>
<p class="summary__value summary__value--in">0000€</p>
<p class="summary__label">Out</p>
<p class="summary__value summary__value--out">0000€</p>
<p class="summary__label">Interest</p>
<p class="summary__value summary__value--interest">0000€</p>
<button class="btn--sort">↓ SORT</button>
</div>
<!-- OPERATION: TRANSFERS -->
<div class="operation operation--transfer">
<h2>Transfer money</h2>
<form class="form form--transfer">
<input type="text" class="form__input form__input--to" id="to" />
<input
type="number"
class="form__input form__input--amount"
id="amount"
/>
<button class="form__btn form__btn--transfer">→</button>
<label class="form__label" for="to">Transfer to</label>
<label class="form__label" for="amount">Amount</label>
</form>
</div>
<!-- OPERATION: LOAN -->
<div class="operation operation--loan">
<h2>Request loan</h2>
<form class="form form--loan">
<input
type="number"
class="form__input form__input--loan-amount"
id="loan-amount"
/>
<button class="form__btn form__btn--loan">→</button>
<label class="form__label form__label--loan" for="loan-amount"
>Amount</label
>
</form>
</div>
<!-- OPERATION: CLOSE -->
<div class="operation operation--close">
<h2>Close account</h2>
<form class="form form--close">
<input type="text" class="form__input form__input--user" id="user" />
<input
type="password"
maxlength="6"
class="form__input form__input--pin"
id="pin"
/>
<button class="form__btn form__btn--close">→</button>
<label class="form__label" for="user">Confirm user</label>
<label class="form__label" for="pin">Confirm PIN</label>
</form>
</div>
<!-- LOGOUT TIMER -->
<p class="logout-timer">
You will be logged out in <span class="timer">05:00</span>
</p>
</main>
<!-- <footer>
© by Jonas Schmedtmann. Don't claim as your own :)
</footer> -->
<script src="script.js"></script>
</body>
</html>