I’m Dave, a data-driven Digital Marketing Expert based in Dubai. With over 3 years of professional experience in social media management, performance marketing, and SEO, my skills have helped grow brands and businesses in the United Arab Emirates and beyond. Want to see your numbers skyrocket? Let’s work together.
0
YEARS OF
INDUSTRY EXPERIENCE
function animateCountUp(el, target, duration = 1200) { let start = 0; const stepTime = 20; const steps = duration / stepTime; const increment = target / steps; const counter = setInterval(() => { start += increment; if (start >= target) { el.textContent = target + '+'; clearInterval(counter); } else { el.textContent = Math.floor(start); } }, stepTime); } function scrambleTextLettersOnly(el, finalText, duration = 800) { const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; let frame = 0; const totalFrames = duration / 30; const chars = finalText.split(""); const interval = setInterval(() => { const display = chars.map((char, i) => { if (frame < totalFrames) { return letters[Math.floor(Math.random() * letters.length)]; } else { return char; } }); el.textContent = display.join(""); frame++; if (frame > totalFrames) clearInterval(interval); }, 30); } const projectEl = document.getElementById('project-count'); const yearsEl = document.getElementById('years-count'); const freeEl = document.getElementById('free-text'); let hasAnimated = false; let inView = false; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting && !hasAnimated) { animateCountUp(projectEl, 25, 1200); animateCountUp(yearsEl, 3, 1200); scrambleTextLettersOnly(freeEl, "FREE", 900); hasAnimated = true; inView = true; } else if (!entry.isIntersecting && inView) { hasAnimated = false; inView = false; projectEl.textContent = '0'; yearsEl.textContent = '0'; freeEl.textContent = 'FREE'; } }); }, { threshold: 0.8 }); observer.observe(projectEl.parentElement);