-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfetch.html
76 lines (69 loc) · 2.69 KB
/
fetch.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
<title>fetch API</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
}
.box {
height: 15%;
overflow: hidden;
}
img{
height: 90%;
}
span:not(.userid){
width: 200px;
}
</style>
</head>
<body class="text-white bg-black text-center">
<div class="border box box1 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="1" src="" alt="img">
<span id="username1" class="h4 username"></span>
<span id="userid1" class="h4 userid"></span>
<span id="useremail1" class="h4 useremail"></span>
</div>
<div class="border box box2 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="2" src="" alt="img">
<span id="username2" class="h4 username"></span>
<span id="userid2" class="h4 userid"></span>
<span id="useremail2" class="h4 useremail"></span>
</div>
<div class="border box box3 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="3" src="" alt="img">
<span id="username3" class="h4 username"></span>
<span id="userid3" class="h4 userid"></span>
<span id="useremail3" class="h4 useremail"></span>
</div>
<div class="border box box4 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="4" src="" alt="img">
<span id="username4" class="h4 username"></span>
<span id="userid4" class="h4 userid"></span>
<span id="useremail4" class="h4 useremail"></span>
</div>
<div class="border box box5 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="5" src="" alt="img">
<span id="username5" class="h4 username"></span>
<span id="userid5" class="h4 userid"></span>
<span id="useremail5" class="h4 useremail"></span>
</div>
<div class="border box box6 m-auto w-75 d-flex align-items-center justify-content-evenly">
<img id="6" src="" alt="img">
<span id="username6" class="h4 username"></span>
<span id="userid6" class="h4 userid"></span>
<span id="useremail6" class="h4 useremail"></span>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="./fetch.js"></script>
</body>
</html>