-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (39 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>4FM Music Player</title>
<link rel="icon" type="image/png" href="./4fmicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="player-container">
<!-- Song -->
<div class="img-container">
<img src="./img/Need Nothing More.jpg" alt="Vega and Tallulah">
</div>
<h2 id="title">Need Nothing More</h2>
<h3 id="artist">4 Flavours of Mercury</h3>
<audio src="./music/Need Nothing More.mp3"
></audio>
<!-- Audio Progress -->
<div class="progress-container" id="progress-container">
<div class="progress" id="progress"></div>
<div class="duration-wrapper">
<span id="current-time">0:00</span>
<span id="duration">4:20</span>
</div>
</div>
<!-- Controls -->
<div class="player-controls">
<i class="fas fa-backward" id="prev" title="Previous"></i>
<i class="fas fa-play main-button" id="play" title="Play"></i>
<i class="fas fa-forward" id="next" title="Next"></i>
</div>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>