init
This commit is contained in:
22
wewilldie/index.css
Normal file
22
wewilldie/index.css
Normal file
File diff suppressed because one or more lines are too long
44
wewilldie/index.html
Normal file
44
wewilldie/index.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<link rel="stylesheet" href="index.css" name="main-style" type="text/css">
|
||||
|
||||
<div>
|
||||
<p id="demo_time" style="font-size:50px;text-align: center;"></p>
|
||||
<meta charset="UTF-8">
|
||||
<p style="font-size:50px;text-align: center;">Ter | Leo</p>
|
||||
<p style="font-size:50px;text-align: center;">we will die (?)</p>
|
||||
<script>
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date("Jun 10, 2023 00:00:00").getTime();
|
||||
|
||||
// Update the count down every 1 second
|
||||
var x = setInterval(function() {
|
||||
|
||||
// Get today's date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now and the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
|
||||
// Display the result in the element with id="demo_klara_time"
|
||||
document.getElementById("demo_time").innerHTML = days + "d " + hours + "h "
|
||||
+ minutes + "m " + seconds + "s ";
|
||||
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("demo_klara_time").innerHTML = "EXPIRED";
|
||||
}
|
||||
}, 1000);
|
||||
</script>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p align="center">
|
||||
<iframe src="https://giphy.com/embed/8lZdaSeGcyZuK3oAqI" width="480" height="200" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/columbiarecords-columbia-records-welcome-to-the-party-8lZdaSeGcyZuK3oAqI"></a></p>
|
||||
|
||||
</p>
|
||||
Reference in New Issue
Block a user