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 be1dffb..91bcfda 100644 --- a/index.html +++ b/index.html @@ -13,11 +13,21 @@