-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
217 lines (207 loc) · 12.3 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!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">
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- 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">
</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 id="searchSong" type="text" class="form-control" placeholder="Enter your artist song name" >
<button id="searchSongBtn" class="btn btn-success search-btn">Search</button>
</div>
</div>
<!-- alert for unavailable data -->
<div id="alertUnavailable"> </div>
<div class="d-flex justify-content-center">
<div id="songSuggestionList">
<p class="author lead"><strong id="title1">Purple Noon</strong> Album by <span id="artist1">Washed Out</span> <button id="lyricsBtn1" class="btn btn-success">Get Lyrics</button></p>
<p class="author lead"><strong id="title2">Purple Noon</strong> Album by <span id="artist2">Washed Out</span> <button id="lyricsBtn2" class="btn btn-success">Get Lyrics</button></p>
<p class="author lead"><strong id="title3">Purple Noon</strong> Album by <span id="artist3">Washed Out</span> <button id="lyricsBtn3" class="btn btn-success">Get Lyrics</button></p>
<p class="author lead"><strong id="title4">Purple Noon</strong> Album by <span id="artist4">Washed Out</span> <button id="lyricsBtn4" class="btn btn-success">Get Lyrics</button></p>
<p class="author lead"><strong id="title5">Purple Noon</strong> Album by <span id="artist5">Washed Out</span> <button id="lyricsBtn5" class="btn btn-success">Get Lyrics</button></p>
</div>
</div>
<!--====== Single Lyrics==========-->
<div id="lyricsContent" class="single-lyrics text-center">
<button class="btn go-back">‹</button>
<h2 id="lyricsContentTitle" class="text-success mb-4">Pentatonix - Na Na Na</h2>
<pre id="textContent" class="lyric text-white">
Wont go whistling like the wind blows,
Looking out my window,
Just to see the shine
Maybe you might call it crazy,
How Im acting lately,
</pre>
</div>
<div id="lyricsSongSuggestionList" 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" id="lyricsTitle1">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist1">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success" id="getLyricsBtn1">Get Lyrics</button>
</div>
</div>
<div id="textContent1" class="lyric text-white">
</div>
<!--===== ./ single result =====-->
<!--====== single result =====-->
<div class="contentBoxStyle single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle2">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist2">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn2">Get Lyrics</button>
</div>
</div>
<div id="textContent2" class="lyric text-white">
</div>
<!--===== ./ single result =====-->
<!--====== single result =====-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle3">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist3">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn3">Get Lyrics</button>
</div>
</div>
<div id="textContent3" class="lyric text-white"> </div>
<!--===== ./ single result =====-->
<!--===== single result ====-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle4">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist4">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn4">Get Lyrics</button>
</div>
</div>
<div id="textContent4" class="lyric text-white"> </div>
<!--===== ./ single result ======-->
<!--===== single result =====-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle5">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist5">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn5">Get Lyrics</button>
</div>
</div>
<div id="textContent5" class="lyric text-white"> </div>
<!--======= ./ single result =====-->
<!--====== single result =====-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle6">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist6">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn6">Get Lyrics</button>
</div>
</div>
<div id="textContent6" class="lyric text-white"> </div>
<!--======= ./ single result ========-->
<!--======== single result =========-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle7">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist7">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn7">Get Lyrics</button>
</div>
</div>
<div id="textContent7" class="lyric text-white"> </div>
<!-- ========./ single result========-->
<!--======= single result ======-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle8">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist8">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn8">Get Lyrics</button>
</div>
</div>
<div id="textContent8" class="lyric text-white"> </div>
<!--====== ./ single result ======-->
<!--====== single result ======-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle9">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist9">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn9">Get Lyrics</button>
</div>
</div>
<div id="textContent9" class="lyric text-white"> </div>
<!--====== ./ single result ======-->
<!--====== single result ======-->
<div class="single-result row align-items-center my-3 p-3">
<div class="col-md-9">
<h3 class="lyrics-name" id="lyricsTitle10">Purple Noon</h3>
<p class="author lead">Album by <span id="lyricsArtist10">Washed Out</span></p>
</div>
<div class="col-md-3 text-md-right text-center">
<button class="btn btn-success"id="getLyricsBtn10">Get Lyrics</button>
</div>
</div>
<div id="textContent10" class="lyric text-white"> </div>
<!--====== ./ single result ======-->
</div>
</main> <!-------main-------->
</div> <!--/.container-->
<!-- 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="main.js"></script>
</body>
</html>