πŸŒƒ πŸ• πŸ“·

Emma Louise, surrounded by girls

{ img.src = img.dataset.src; }); } else { // Dynamically import the LazySizes library const script = document.createElement('script'); script.src = 'https://pagecdn.io/lib/lazysizes/5.2.0/lazysizes.min.js'; document.body.appendChild(script); } */ var el=document.querySelector(".toggle-me"); el.onclick=function(){ event.preventDefault(); //document.getElementsByTagName("body")[0].classList.toggle("blm") document.getElementsByTagName("body")[0].classList.toggle("nightmode") }; // dark-mode media query matched or not let matched = window.matchMedia('(prefers-color-scheme: dark)').matches; if(matched) document.body.classList.add("nightmode");