-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (51 loc) · 2.19 KB
/
index.html
File metadata and controls
56 lines (51 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Icon -->
<link rel="icon" sizes="192x192" type=image/x-icon" href="media/icons/javascript.ico">
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/5485bfc962.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Photo API</title>
</head>
<body class="text-white">
<header class="container">
<h1 class="text-uppercase text-center text-warning my-4">Welcome to the Photo API Website!</h1>
</header>
<main class="mb-5">
<section class="container">
<div class="d-flex justify-content-center align-items-center" id="modal">
<!-- modal -->
</div>
<div class="d-flex justify-content-center">
<button onclick="loadPhotos()"
class="btn w-50 my-2 d-flex justify-content-center align-items-center">Load
Random
User</button>
</div>
<div class="custom-card">
<!-- random-user -->
</div>
</section>
</main>
<footer class="text-uppercase p-3">
<p class="text-center fw-bold">CopyRight © <span id="year"></span> | All Rights Reserved By</p>
<p class="text-center fw-bold">Nafi Mahmud</p>
</footer>
<script>
const d = new Date();
document.getElementById("year").innerText = d.getFullYear();
</script>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script type="text/javascript" src="js/random-user.js"></script>
</body>
</html>