-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
59 lines (54 loc) · 2.84 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 name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>Yu-Gi-Oh! Card Library</title>
</head>
<body>
<div id="wrapper" class="container-fluid px-3">
<header class="my-3 p-5 text-light text-center rounded">
<h1>Yu-Gi-Oh! Card Library</h1>
</header>
<!-- Search Bar -->
<div class="w-75 mx-auto" id="form">
<input type="text" name="searchBar" id="searchBar" class="form-control form-control-lg text-center"
placeholder="Search Card Name Here">
<ul class="position-absolute w-75 text-center list-unstyled bg-white" id="searchedCardList"></ul>
</div>
<!-- Start of Card Information -->
<div class="row w-100 mt-3 position-absolute px-3 rounded" style="z-index: -1;" id="infoOut">
<div class="col-sm-6 mx-auto mb-5 p-3 bg-light" style="border-style: outset">
<div id="carouselNoTouching" class="carousel carousel-dark slide" data-bs-touch="false"
data-bs-interval="false">
<!-- Card Art Container -->
<div id="getAltArt" class="carousel-inner">
<div class="carousel-item active">
<img id="cardImage" class="image-fluid w-50 mx-auto d-block">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselNoTouching"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselNoTouching"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- Card Information -->
<div class="col-sm-6 mx-auto p-3 h-50 bg-light rounded" id="cardInfo" style="border-style: outset"></div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
<script src="script.js"></script>
</body>
</html>