2yffe71m2zicc5fst – My Blog
0%
itemtype='https://schema.org/Blog' itemscope='itemscope' class="archive tag tag-2yffe71m2zicc5fst tag-16 wp-theme-astra ast-desktop ast-separate-container ast-two-container ast-no-sidebar astra-4.8.10 ast-inherit-site-logo-transparent ast-hfb-header elementor-default elementor-kit-6">
Skip to content
document.addEventListener("DOMContentLoaded", () => {
let count = 0;
const counter = document.getElementById("count");
const preloader = document.getElementById("preloader");
const interval = setInterval(() => {
if (count < 100) {
count++;
counter.textContent = count;
} else {
clearInterval(interval);
preloader.style.opacity = "0";
setTimeout(() => {
preloader.style.display = "none";
}, 500);
document.body.classList.remove("loading");
}
}, 20); // Adjust speed here
});
document.body.classList.add("loading");