From eb59c2cff09906d90ed2ef0ebf0a757cb65cc67a Mon Sep 17 00:00:00 2001 From: Brendan Griffiths Date: Thu, 19 Dec 2024 18:03:00 -0800 Subject: [PATCH] smiling --- css/style.css | 5 +++++ js/app.js | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 198ece8..7130a95 100644 --- a/css/style.css +++ b/css/style.css @@ -93,6 +93,10 @@ textarea { font-display: swap; } +html { + cursor: pointer; +} + .smile { position: fixed; top:0; @@ -122,6 +126,7 @@ textarea { font-size: 13vw; letter-spacing: 1px;; z-index: 500; + display: none; } .tnr { diff --git a/js/app.js b/js/app.js index 57b53ba..dd09df0 100644 --- a/js/app.js +++ b/js/app.js @@ -40,6 +40,6 @@ var countdown=function(){function z(a,b){var c=a.getTime();a.setMonth(a.getMonth setClock(); setInterval(setClock, 1000); - $( ".smile" ).on( "click", function() { - $(this).hide(); + $( "html" ).on( "click", function() { + $(".smile, .countdown").toggle(); } ); \ No newline at end of file