-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (48 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Music Player</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- partial:index.partial.html -->
<div class="player">
<div class="cover">
<img src="girl.jpg" alt="" />
</div>
<div class="info">
<div class="title">Stuck in the Moment</div>
<div class="singer">About you</div>
</div>
<div class="music-box">
<input
type="range"
step="1"
class="seekbar"
value="0"
min="0"
max="100"
oninput="handleSeekBar()"
/>
<audio class="music-element">
<source src="stuckinthemoment.mp3" type="audio/mp3" />
</audio>
<span class="current-time">0:0</span><span class="duration">0:0</span>
<span class="play" onclick="handlePlay()">
<i class="material-icons">play_arrow</i>
</span>
</div>
</div>
<!-- partial -->
<script src="script.js"></script>
</body>
</html>