text: function clock(){const t=6,r=document.querySelector("#hr"),u=document.querySelector("#mn"),f=document.querySelector("#sc"),n=new Date,e=n.getHours()*30,i=n.getMinutes()*t,o=n.getSeconds()*t;r.style.transform=`rotateZ(${e+i/12}deg)`;u.style.transform=`rotateZ(${i}deg)`;f.style.transform=`rotateZ(${o}deg)`}setInterval(()=>clock(),1e3);var toggle_action=document.getElementById("toggle-btn");toggle_action.onclick=function(){const n=document.getElementById("container-clock");n.classList.toggle("light")}