top of page

Car Maintenance Tips for Drivers in Ghana | Master Vehicle Care with AutoLastGh:

bottom of page
close
// Lazy load images and other elements function lazyLoadElements() { const elements = document.querySelectorAll('.lazy-load'); const observer = new IntersectionObserver((entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { const element = entry.target; element.src = element.dataset.src; observer.unobserve(element); } }); }, { rootMargin: '50px', }); elements.forEach((element) => { observer.observe(element); }); } // Run the lazy load function on page load document.addEventListener('DOMContentLoaded', lazyLoadElements);