Added Js
This commit is contained in:
parent
34f5dd3cfa
commit
ce31b31968
@ -72,7 +72,7 @@
|
|||||||
<img id="nav-logo" src="img/Gilroy_Hacks_Logo_Summer_wide_2.png" alt="logo"/>
|
<img id="nav-logo" src="img/Gilroy_Hacks_Logo_Summer_wide_2.png" alt="logo"/>
|
||||||
</a>
|
</a>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<p id="banner-text"><a class="navlink" id="timer-link" href="#timeline">Opening Ceremony</a> in
|
<p id="banner-text"><a class="navlink" id="timer-link" href="#timeline">Projects Due</a> in
|
||||||
<span id="timer">---</span>
|
<span id="timer">---</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -178,7 +178,7 @@ document.addEventListener('DOMContentLoaded', function(){
|
|||||||
// Timer
|
// Timer
|
||||||
// SRC: W3Schools https://www.w3schools.com/howto/howto_js_countdown.asp
|
// SRC: W3Schools https://www.w3schools.com/howto/howto_js_countdown.asp
|
||||||
// Set the date we're counting down to
|
// Set the date we're counting down to
|
||||||
var countDownDate = new Date("Aug 12, 2022 16:00:00").getTime();
|
var countDownDate = new Date("Aug 14, 2022 14:00:00").getTime();
|
||||||
|
|
||||||
// Update the count down every 1 second
|
// Update the count down every 1 second
|
||||||
var x = setInterval(function() {
|
var x = setInterval(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user