Skip to content

Commit

Permalink
Update party.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-yip committed Jul 23, 2024
1 parent 3ae42f6 commit 4e6f8d7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion public/party.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ addEventListener("DOMContentLoaded", (event) => {
}, "1000");

setTimeout(() => {
const Timeout = setTimeout(display_none, 6000);
const Timeout = setTimeout(go_arrow, 7000);
console.log("display none.");
}, "1000");

setTimeout(() => {
const Timeout = setTimeout(display_none, 8000);
console.log("display none.");
}, "1000");

Expand Down Expand Up @@ -106,6 +111,10 @@ addEventListener("DOMContentLoaded", (event) => {
play_go_fx();
}

function go_arrow() {
counter.innerText = "⬇️";
}

function display_none() {
counter.style.display = "none";
console.log("Counter hide");
Expand Down

0 comments on commit 4e6f8d7

Please sign in to comment.