-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccount.html
More file actions
266 lines (255 loc) · 13.7 KB
/
Copy pathaccount.html
File metadata and controls
266 lines (255 loc) · 13.7 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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="HTML & CSS Practice tasks">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML & CSS Practice tasks</title>
<script src="https://kit.fontawesome.com/41c8b474e2.js" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link href="./css/style.css" rel="stylesheet">
</head>
<body>
<!-- _top-bar.scss -->
<header class="top-bar d-flex align-items-center">
<div class="container d-flex justify-content-between">
<div class="language-currency">
<div class="d-flex me-auto">
<nav class="dropdown dropdown-theme me-3">
<button type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span id="language-eng">ENG<i class="fa-solid fa-chevron-down ms-3"></i></span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Eng</a></li>
<li><a class="dropdown-item" href="#">Sv</a></li>
</ul>
</nav>
<nav class="dropdown dropdown-theme me-3">
<button type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span id="language-eng">EUR<i class="fa-solid fa-chevron-down ms-3"></i></span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">EUR €</a></li>
<li><a class="dropdown-item" href="#">USD $</a></li>
<li><a class="dropdown-item" href="#">SEK kr</a></li>
</ul>
</nav>
</div>
</div>
<!-- Company info -->
<div class="company-info d-flex justify-content-between">
<!-- Text links -->
<nav class="me-5 d-none d-sm-flex"> <!-- for responsiveness -->
<a href="#" class="top-bar-links me-4">Newletter</a>
<a href="#" class="top-bar-links me-4">Contact us</a>
<a href="#" class="top-bar-links">FAQs</a>
</nav>
<!-- Social icons -->
<nav class="d-none d-lg-block"> <!-- for responsiveness -->
<a href="#"><i class="fa fa-facebook me-3" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-twitter me-3" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-instagram me-3" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-pinterest me-3" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-youtube" aria-hidden="true"></i></a>
</nav>
</div>
</div>
</header>
<!-- _brand-search-acc.scss -->
<nav class="container">
<div class="brand-search-acc row align-items-center">
<!-- Brand logotype -->
<a href="index.html" class="col-3 d-none d-md-block">
<img class="img-fluid" src="/images/brand-logo.svg" alt="Logotype">
</a>
<!-- Search bar -->
<form class="input-group col-md-auto">
<input type="text" class="form-control" placeholder="Search products..." aria-label="Search products..." aria-describedby="button-addon2">
<button class="btn btn-outline-secondary" type="button" id="button-addon2"><span class="d-none">Placeholder text</span><i class="fa-regular fa-magnifying-glass"></i></button>
</form>
<!-- Account settings -->
<nav class="account col">
<a href="account.html" class="me-5">
<i class="fa-regular fa-user me-2"></i>
<span class="d-none d-xl-inline">My account</span>
</a>
<a href="#" class="me-4">
<i class="fa-regular fa-heart"></i>
</a>
<a href="#" class="me-4 position-relative">
<!-- Rounded pill "tooltip" -->
<span class="position-absolute top-1 start-100 translate-middle badge rounded-pill">
0
<span class="visually-hidden">Shuffle</span>
</span>
<i class="fa-regular fa-shuffle"></i>
</a>
<a href="#" class="position-relative me-4">
<!-- Rounded pill "tooltip" -->
<span class="position-absolute top-1 start-100 translate-middle badge rounded-pill">
0
<span class="visually-hidden">Items</span>
</span>
<i class="fa-regular fa-cart-shopping"></i>
</a>
<a href="#">€9999.00</a>
</nav>
</div>
</nav>
<!-- _browse-menu.scss -->
<nav class="border-top">
<nav class="container browse-menu">
<div class="dropdown dropdown-theme">
<button class="btn" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span>
<i class="fa-regular fa-bars me-1"></i> Browse Categories
</span>
<i class="fa-regular fa-chevron-down ms-5"></i>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Computers</a></li>
<li><a class="dropdown-item" href="#">TV & Displays</a></li>
</ul>
</div>
<div class="special-offer d-none d-sm-flex">
<button class="btn special-text">SPECIAL OFFER</button>
</div>
</nav>
</nav>
<main>
<!-- ACCOUNT BREADCRUMBS -->
<section class="breadcrumbs">
<div class="container d-flex justify-content-between align-items-center">
<h1>My account</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">My Account</li>
</ol>
</nav>
</div>
</section>
<!-- FORMS -->
<section class="forms-section">
<div class="container">
<div class="row gap-5">
<div class="form-general form-login col p-4">
<form class="needs-validation" novalidate>
<h1 class="form-title">
LOGIN
</h1>
<div>
<label for="login-email" class="form-label">Email address<span class="asterix"> *</span></label>
<input type="email" id="login-email" autocomplete="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Please enter a valid email address.
</div>
</div>
<div>
<label for="login-password" class="form-label">Password<span class="asterix"> *</span></label>
<input type="password" id="login-password" required>
</div>
<input class="my-4" type="submit" value="LOG IN" id="login-submit">
<div class="form-help d-flex justify-content-between align-items-center">
<div class="d-flex">
<input type="checkbox" id="remember-me">
<label class="ms-2" for="remember-me" id="remember-lable">Remember me</label>
</div>
<a href="#" class="lost-password">Lost your password?</a>
</div>
</form>
<div class="login-with d-flex justify-content-evenly mt-4">
<img class="d-none d-sm-flex" src="images/form-line.svg" alt="">
<p class="text-center p-0 m-0">OR LOG IN WITH</p>
<img class="d-none d-sm-flex" src="images/form-line.svg" alt="">
</div>
<div class="login-social mt-4">
<a href="#"><img src="images/Login-facebook.svg" alt="Facebook"></a>
<a href="#"><img src="images/Login-google.svg" alt="Google"></a>
</div>
</div>
<div class="form-general form-register col p-4">
<form class="needs-validation" novalidate>
<h1 class="form-title">
REGISTER
</h1>
<p class="text-muted lh-lg">Registering for this site allows you to access your order status and history. Just fill in the fields below, and we’ll get a new account set up for you in no time. We will only ask you for information necessary to make the purchase process faster and easier.</p>
<div>
<label for="fname" class="form-label">Firstname<span class="asterix"> *</span></label>
<input type="text" name="fname" id="fname" autocomplete="name" required>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Are you sure?
</div>
</div>
<div>
<label for="lname" class="form-label">Lastname<span class="asterix"> *</span></label>
<input type="text" name="lname" id="lname" autocomplete="family-name"required>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Are you sure?
</div>
</div>
<div>
<label for="register-email" class="form-label">Email address<span class="asterix"> *</span></label>
<input type="email" name="register-email" id="register-email" autocomplete="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required><!--patterns found at stackoverflow-->
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Please enter a valid email address.
</div>
</div>
<div>
<label for="register-password" class="form-label">Password<span class="asterix"> *</span></label>
<input type="password" name="register-password" id="register-password" required>
</div>
<p class="terms mt-4 lh-lg">Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our <span class="terms-link">privacy policy.</span></p>
<input type="submit" value="REGISTER" id="register-submit" class="mb-0">
</form>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="section-footer">
<div class="container">
<p>© Copyright 2022 Kenkata</p>
</div>
</footer>
</main>
<!-- BOOTSTRAP JAVASCRIPT -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<!-- FOR TOOLTIPS -->
<script>
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
</script>
<!-- FOR VALIDATION -->
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(() => {
'use strict'
// Fetch all the forms we want to apply custom Bootstrap validation styles to
const forms = document.querySelectorAll('.needs-validation')
// Loop over them and prevent submission
Array.from(forms).forEach(form => {
form.addEventListener('submit', event => {
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
}
form.classList.add('was-validated')
}, false)
})
})()
</script>
</body>
</html>