-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (52 loc) · 2.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon_io/favicon-16x16.png">
<link rel="manifest" href="./assets/favicon_io/site.webmanifest">
<link rel="stylesheet" type="text/css" href="style-v2.css">
<title>Random user card</title>
</head>
<body>
<main>
<h1>Random user card. Using external API</h1>
<div class="user-card">
<div class="user-card-content">
<div class="user-profile-picture-wrapper">
<img id="user-img" class="user-profile-picture" src="./assets/white-placeholder.png" alt="random user profile picture">
<button id="get-new-btn" class="user-btn-new" type="button">New</button>
</div>
<p class="user-info-description">My name is</p>
<p id="user-info" class="user-info">...</p>
<div id="user-buttons" class="user-buttons-wrapper">
<div>
<button class="sprite-btn active" type="button" data-info="name" data-desc="My name is" aria-label="show user info"></button>
</div>
<div>
<button class="sprite-btn" type="button" data-info="email" data-desc="My email is" aria-labe="show user email"></button>
</div>
<div>
<button class="sprite-btn" type="button" data-info="birthday" data-desc="My birthday is" aria-labe="show user birthday"></button>
</div>
<div>
<button class="sprite-btn" type="button" data-info="address" data-desc="My address is" aria-labe="show user address"></button>
</div>
<div>
<button class="sprite-btn" type="button" data-info="phone" data-desc="My phone is" aria-labe="show user phone number"></button>
</div>
<div>
<button class="sprite-btn" type="button" data-info="password" data-desc="My password is" aria-labe="show user password"></button>
</div>
</div>
</div>
</div>
</main>
<script src="main-v2.js"> </script>
</body>
</html>