forked from pwfoote/FanBook.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (56 loc) · 2.67 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
<!DOCTYPE html>
<html lang="en" class="has-background-dark">
<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">
<!-- Bulma -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<!-- jQuery Modal -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />
<link rel="stylesheet" href="assets/css/style.css">
<title>Fanbook.com</title>
</head>
<body class="has-background-dark">
<header>
<h1 class="fanbook-header is-size-1 title has-text-centered has-text-white has-background-black box is-desktop is-mobile">Fanbook.com</h1>
</header>
<main class=" m-6">
<div class="m-6">
<div class="card has-text-centered">
<header class="search-card card-header has-background-black">
<h2 class="card-header-title is-size-2 has-text-white is-centered">Connect With Your Favorite Music Artist In One Search!</h2>
</header>
<div class="card-content">
<!-- Search Form -->
<form id="search-form">
<label for="artist" class="label is-size-3 is-outlined">Enter Artist Name Below:</label>
<!-- Search Autocomplete -->
<auto-complete api="https://musicbrainz.org/ws/2/artist?query=artist:${artist}&fmt=json" resultdata="artists" resultname="name" querymin="1" optionmax="100">
<input type="text" placeholder="Ex. Drake" id="artist" name="artist" class="input is-medium is-centered is-focus is-rounded my-1 py-2 is-dark has-text-black has-text-bold" required />
</auto-complete>
<button type="submit" id="search-btn" class="button is-rounded my-1 is-danger is-fullwidth has-text-white has-text-weight-bold is-hover">Search</button>
</form>
</div>
</div>
</div>
<!-- Search Results -->
<div class="result-div m-6" id="search-result">
</div>
<!-- Modal -->
<div id="modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p id="modal-text">Error</p>
</div>
</div>
<footer class="has-text-white">© group7productions</footer>
<!-- Search Autocomplete CDN -->
<script src="https://cdn.jsdelivr.net/npm/datalist-ajax/dist/datalist-ajax.min.js"></script>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<!-- jQuery Modal -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js"></script>
<script src="assets/JS/script.js"></script>
</body>
</html>