forked from KendallDoesCoding/random-song-from-album
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (57 loc) · 1.97 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
<!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" />
<link rel="icon" type="image/x-icon" href="images/rickroll.ico" />
<link rel="stylesheet" href="styles.css" />
<title>Random Song - play a random song from any album</title>
<script
src="https://kit.fontawesome.com/72f2609661.js"
crossorigin="anonymous"
></script>
<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-55DLRTJ04T"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-55DLRTJ04T");
</script>
</head>
<body>
<div id="header">
<h1 class="heading">RANDOM SONG (PLAY A RANDOM SONG FROM ANY ALBUM)</h1>
<div id="switch">
<label class="switch">
<input type="checkbox" />
<span class="slider round"></span>
</label>
</div>
</div>
<!-- embedded YouTube video hidden so only audio is played-->
<iframe
id="embed"
width="100px"
height="100px"
src="https://www.youtube.com/embed/dQw4w9WgXcQ"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<!-- songs container, the contents of the div are called upon in the js file, thus this is div is empty. -->
<div class="songs"></div>
</div>
</body>
<!-- christmasday.js not present, commented out -->
<!-- <script type="text/javascript" src="scripts/christmasday.js"></script> -->
<script type="text/javascript" src="index.js"></script>
</html>