-
Notifications
You must be signed in to change notification settings - Fork 0
/
wikiAPI.html
44 lines (34 loc) · 1.63 KB
/
wikiAPI.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>My Little Underground</title>
<link rel="icon" type="image/png" href="images/tabicon.png">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
<link rel="stylesheet" href="css/mlu.css">
</head>
<body>
<div id="nav-placeholder"></div>
<div class="container mt-5">
<div id="title">Wiki API Example</div>
<!-- User input field -->
<form>
<div class="row">
<div class="col">
<input id="searchTerm" type="text" class="form-control" placeholder="Enter your search term here...">
</div>
</div>
</form>
<button class="btn btn-outline-success" type="submit" onclick="wikiAPI()">Search</button>
<div class="container" id="wiki"></div>
</div>
<div id="footer-placeholder"></div>
<script src="js/nav.js"></script>
<script src="js/footer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/js/bootstrap.bundle.min.js" integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N" crossorigin="anonymous"></script>
<script src="js/wikiAPI.js"></script>
</body>
</html>