-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (83 loc) · 2.94 KB
/
Copy pathindex.html
File metadata and controls
93 lines (83 loc) · 2.94 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
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/mine/style.css">
<title>Masked Web </title>
</head>
<body>
<div class="container">
<div class="content">
<h1>Countdown to <span>Whole Lotta Red</span> Album in ...</h1>
<div class="launch-time">
<div>
<p id="days">00</p>
<span>Days</span>
</div>
<div>
<p id="hours">00</p>
<span>Hours</span>
</div>
<div>
<p id="minutes">00</p>
<span>Minutes</span>
</div>
<div>
<p id="seconds">00</p>
<span>Seconds</span>
</div>
</div>
<button class="button" type="button">Learn More </button>
</div>
<ul>
<li>
<a href="https://www.spotify.com" target="_blank">
<i classes="fa-brands fa-spotify-f"></i>
<img src="/mine/spotify.png" class="spotify">
</a>
</li>
<li>
<a href="https://www.audiomack.com" target="_blank">
<i class="fa-brands fa-audiomack"></i>
<img src="/mine/audio.png" class="audiomack">
</a>
</li>
<li>
<a href="https://www.deezer.com" target="_blank">
<i class="fa-brands fa-deezer"></i>
<img src="/mine/deezer.png" class="deezer">
</a>
</li>
<li>
<a href="https://www.soundcloud.com" target="_blank">
<i class="fa-brands fa-soundcloud"></i>
<img src="/mine/soundcloud.png" class="soundcloud">
</a>
</li>
</ul>
</div>
<script>
var countDownDate = new Date("Mar 9, 2024 00:00:00").getTime();
var x = setInterval(function(){
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 3600 * 24));
var hours = Math.floor((distance % (1000 * 3600 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("days").innerHTML = days;
document.getElementById("hours").innerHTML = hours;
document.getElementById("minutes").innerHTML = minutes;
document.getElementById("seconds").innerHTML = seconds;
if(distance < 0){
clearInterval(x);
document.getElementById("days").innerHTML = "00";
document.getElementById("hours").innerHTML = "00";
document.getElementById("minutes").innerHTML = "00";
document.getElementById("seconds").innerHTML = "00";
}
});
</script>
</body>
</html>