diff --git a/clock.js b/clock.js index ee35db1..ab85ef8 100644 --- a/clock.js +++ b/clock.js @@ -81,4 +81,10 @@ window.addEventListener('load',()=>{ placeMarkers(); updateClock(); setInterval(updateClock,1000); + const clk=document.getElementById('clock'); + if(clk){ + clk.addEventListener('click',()=>{ + document.body.classList.toggle('fullscreen-clock'); + }); + } }); diff --git a/index.html b/index.html index c3741fd..fe038e7 100644 --- a/index.html +++ b/index.html @@ -14,11 +14,21 @@