Live Earnings Pop Up notifications
const notifications = [
“💬 Lisa from UK just withdrew $20,000 ✅”,
“💹 Michael earned $1,250 trading BTC/USDT 💰”,
“🚀 Sarah from Canada opened a new account”,
“📈 David made $2,450 profit trading EUR/USD 💵”,
“🎯 Emma just completed her 5th successful trade! Portfolio balance $150k
];
let index = 0;
const notifBox = document.getElementById(“liveNotification”);
function showNotification() {
notifBox.textContent = notifications[index];
notifBox.style.opacity = 1;
setTimeout(() => {
notifBox.style.opacity = 0;
}, 4000);
index = (index + 1) % notifications.length;
}
showNotification();
setInterval(showNotification, 6000);
@keyframes fadeIn {
from {opacity: 0; transform: translateY(20px);}
to {opacity: 1; transform: translateY(0);}
}