Skip to content

Commit

Permalink
Update curtain.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CHooverShrimp committed Oct 20, 2024
1 parent 50be2df commit c81e9cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions public/js/curtain.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ document.getElementById('enter-button').addEventListener('click', function() {
document.querySelector('.curtain-container').style.display = 'none';
}, 2000);
});

// Easter egg, changes the quote by clicking on the board
document.getElementById('falling-image').addEventListener('click', function() {
const quoteElement = document.getElementById('Anon-quotes');
quoteElement.textContent = getRandomQuote();
});

0 comments on commit c81e9cc

Please sign in to comment.