-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (75 loc) · 2.8 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
<!DOCTYPE html>
<html lang="en">
<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">
<title>Music Player | babs</title>
<!--adding the style's file and the icon link for font awesome and material-->
<link rel="stylesheet" href="css/style.css">
<script src="https://kit.fontawesome.com/a898a3367c.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
</head>
<body>
<!--the music player container-->
<div class="wrapper">
<!--the top bar-->
<div class="top-bar">
<i class="fa-solid fa-chevron-down"></i>
<span>Now Playing</span>
<i class="fa-solid fa-ellipsis"></i>
</div>
<!--the art cover for each music-->
<div class="art-cover">
<img src="" alt="">
</div>
<!--the song details-->
<div class="under-art">
<div class="song-detail">
<p class="title"></p>
<p class="artist"></p>
</div>
<!--the icon for the volume of the audio-->
<div class="heart">
<i class="fa-solid fa-heart"></i>
</div>
</div>
<!--the song progress; the bar progress, current time and total duration-->
<div class="progress-area">
<div class="progress-bar"></div>
<div class="timer">
<span class="current">0:00</span>
<span class="duration">3:20</span>
</div>
<audio id="main-audio" src=""></audio>
</div>
<!--Define the section for displaying the controls-->
<div class="controls">
<i id="repeat" class="material-icons" title="playlist looped">repeat</i>
<i id="prev" class="fa-solid fa-backward"></i>
<div class="play-pause">
<i class="fa-regular fa-circle-play"></i>
</div>
<i id="next" class="fa-solid fa-forward"></i>
<i id="show-more-music" class="material-icons">queue_music</i>
</div>
<!--the song's playlist-->
<div class="music-list">
<div class="header">
<div class="row">
<i class="material-icons">queue_music</i>
<span>Music list</span>
<i id="close" class="fa fa-close" aria-hidden="true"></i>
</div>
</div>
<!--the song list. Also in the JS file-->
<ul>
</ul>
</div>
</div>
<!--Adding both scripts-->
<script src="js/music-list.js"></script>
<script src="js/player.js"></script>
</body>
</html>