-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (99 loc) · 4.63 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hard Rock Solution - Song Lyric App</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" />
<!-- Custom css -->
<link rel="stylesheet" href="style.css" />
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<div class="container">
<nav class="navbar navbar-dark my-3">
<a class="navbar-brand" href="#">
<img src="images/logo.png" alt="Hard Rock Solution" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavId"
aria-controls="collapsibleNavId" aria-expanded="false" aria-label="Toggle navigation">
<img src="images/toggler-icon.svg" alt="" />
</button>
<div class="collapse navbar-collapse" id="collapsibleNavId">
<ul class="navbar-nav ml-auto mt-2 mt-lg-0">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdownId" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Dropdown</a>
<div class="dropdown-menu" aria-labelledby="dropdownId">
<a class="dropdown-item" href="#">Action 1</a>
<a class="dropdown-item" href="#">Action 2</a>
</div>
</li>
</ul>
</div>
</nav>
<main class="content-area">
<div class="search-bar col-md-6 mx-auto">
<h1 class="text-center">Lyrics Search</h1>
<div class="search-box my-5">
<input type="text" id="search-input" class="form-control" placeholder="Enter your artist song name"
autofocus />
<button id="search-btn" class="btn btn-success search-btn">
Search
</button>
</div>
</div>
<!-- === Simple results ===
<div class="d-flex justify-content-center">
<div class="">
<p class="author lead">
<strong>Purple Noon</strong> Album by <span>Washed Out</span>
<button class="btn btn-success">Get Lyrics</button>
</p>
</div>
</div> -->
<!-- === Fancy results === -->
<div id="result" class="search-result col-md-8 mx-auto py-4">
<!-- single result -->
<!-- <div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name">Purple Noon</h3>
<p class="author lead">Album by <span>Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success">Get Lyrics</button>
</div>
</div> -->
<!-- ./ single result -->
</div>
<!-- Single Lyrics -->
<div id="lyrics-text" class="single-lyrics text-center">
<!-- <button class="btn go-back">‹</button>
<h2 class="text-success mb-4">Pentatonix - Na Na Na</h2>
<pre class="lyric text-white">Lyrics Sample</pre> -->
</div>
</main>
<div class="col-md-6 mx-auto">
<p id="lyrics-not-found" class="notify">Lyrics not found</p>
<p id="title-not-found" class="notify">Title or artist not found</p>
<p id="empty-input" class="notify">Please enter lyrics title/ artist name</p>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Custom Script Here -->
<script src="app.js"></script>
</body>
</html>