-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (84 loc) · 3.43 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamic Hero Search</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./src/css/style.css" />
</head>
<body>
<main class="container text-light">
<section id="title-container" class="row">
<h1 class="display-4 text-center border-bottom mb-5 py-5">
Dynamic Hero Search
</h1>
</section>
<section id="search-container" class="row border-bottom">
<form id="search-group">
<label for="search-box" class="form-label visually-hidden"
>Search for a hero or publisher</label
>
<div class="input-group mb-5">
<input
id="search-box"
class="form-control"
aria-describedby="search-button"
aria-label="Search"
name="search"
placeholder="Search for a hero or publisher"
tabindex="1"
type="text"
/>
<button
id="search-button"
class="btn btn-primary"
tabindex="2"
type="submit"
>
Search
</button>
<button
id="clear-button"
class="btn btn-outline-primary"
tabindex="3"
type="button"
>
Clear Search
</button>
</div>
</form>
</section>
<section class="row mt-3">
<p class="text-secondary text-right"><strong id="results-num">100</strong> heroes found</p>
</section>
<section id="table-container" class="row mb-5">
<table id="hero-table" class="table table-dark table-striped">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Publisher</th>
</tr>
</thead>
<tbody id="hero-table-body"></tbody>
</table>
</section>
<footer class="border-top py-3">
<p id="copyright-info" class="text-center text-sm no-margin">
© 2023 Karl Horning
</p>
</footer>
</main>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
<script src="./src/js/script.js"></script>
</body>
</html>