-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (77 loc) · 3.13 KB
/
index.html
File metadata and controls
84 lines (77 loc) · 3.13 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<title>yDigss</title>
</head>
<body>
<audio id="musica" loop>
<source src="spotifydown.com - All I Have (feat. LL Cool J) (1).mp3" type="audio/mp3">
Seu navegador não suporta o elemento de áudio.
</audio>
<button id="playButton" class="audio-control-btn" onclick="playAudio()">Play Música</button>
<div class="center-box">
<img
src="images/Rei ayanami icon.jpg"
alt="Icone de perfil da Rei Ayanami"
class="image"
>
<div>
<h1 class="center-h1">dixss</h1>
<h3 class="center-h3">he sent me the magic</h3>
</div>
<div class="mini-box">
<div>
<img
src="https://cdn.discordapp.com/avatars/291537160837005312/a3e2d21c49192a7c85a3992a3aba0e9f.webp"
alt="Avatar"
class="image1"
>
<img
src="https://assets.guns.lol/idle.png"
alt="icon"
class="image2"
>
<img
src="https://cdn.discordapp.com/badge-icons/8a88d63823d8a71cd5e390baa45efa02.png"
alt="Badge"
class="image3"
>
<h3 class="nick">roohz</h3>
<h3 class="status">look and learn.</h3>
</div>
</div>
<div class="micro-box">
<div>
<div class="spotify">
<i class="fa-brands fa-spotify"></i>
</div>
<div class="steam">
<i class="fa-brands fa-steam"></i>
</div>
<div class="insta">
<i class="fa-brands fa-instagram"></i>
</div>
</div>
</div>
</div>
<script>
var audio = document.getElementById('musica');
audio.volume = 0.4;
function playAudio() {
var audio = document.getElementById('musica');
var playButton = document.getElementById('playButton');
if (audio.paused) {
audio.play();
playButton.innerHTML = 'Pause Música';
} else {
audio.pause();
playButton.innerHTML = 'Play Música';
}
}
</script>
</body>
</html>