Siteβ―Builder
Editing:
index-countdown.html
writable 0666
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>BestDealOn.com - Coming in 2025</title> <style> html, body { margin: 0; padding: 0; height: 100%; font-family: 'Arial', sans-serif; overflow: hidden; } body { /* Animated gradient background */ background: linear-gradient(-45deg, #00c9ff, #92fe9d, #ffe29f, #ffa0a0); background-size: 400% 400%; animation: gradientBG 15s ease infinite; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; } @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .container { max-width: 800px; margin: 0 20px; } h1 { font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; } p.tagline { font-size: 1.2rem; margin-bottom: 30px; } .countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; } .countdown div { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 20px; width: 100px; } .countdown div span { display: block; font-size: 2.5rem; font-weight: bold; margin-bottom: 5px; } .countdown div small { font-size: 0.9rem; text-transform: uppercase; } .cta-button { display: inline-block; background: rgba(0,0,0,0.5); color: #fff; padding: 15px 30px; border-radius: 10px; font-weight: bold; text-decoration: none; font-size: 1rem; margin-top: 30px; transition: background 0.3s; } .cta-button:hover { background: rgba(0,0,0,0.7); } .footer-note { font-size: 0.9rem; opacity: 0.8; margin-top: 50px; } /* Responsive adjustments */ @media (max-width: 500px) { h1 { font-size: 2rem; } .countdown div { width: 70px; padding: 10px; } .countdown div span { font-size: 1.5rem; } } </style> </head> <body> <div class="container"> <h1>BestDealOn.com</h1> <p class="tagline">A new era of trust and global commerce is coming soon...</p> <div class="countdown"> <div> <span id="days">0</span> <small>Days</small> </div> <div> <span id="hours">0</span> <small>Hours</small> </div> <div> <span id="minutes">0</span> <small>Minutes</small> </div> <div> <span id="seconds">0</span> <small>Seconds</small> </div> </div> <!-- CTA Button linking to the app --> <a href="http://bestdealon.com/app/" class="cta-button">Visit Our App</a> <p class="footer-note">Launching January 1, 2025</p> </div> <script> // Set the target date and time (January 1, 2025 00:00:00) const targetDate = new Date("January 1, 2025 00:00:00").getTime(); function updateCountdown() { const now = new Date().getTime(); const distance = targetDate - now; // Time calculations const days = Math.floor(distance / (1000 * 60 * 60 * 24)); const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 *60)); const minutes = Math.floor((distance % (1000 * 60 *60)) / (1000 *60)); const seconds = Math.floor((distance % (1000 *60)) / 1000); // Display results document.getElementById("days").innerText = days; document.getElementById("hours").innerText = hours; document.getElementById("minutes").innerText = minutes; document.getElementById("seconds").innerText = seconds; // If finished if (distance < 0) { document.querySelector('.countdown').innerHTML = "<div><span>0</span><small>Launched!</small></div>"; } } // Update countdown every second setInterval(updateCountdown, 1000); updateCountdown(); </script> </body> </html>
Save changes
Create folder
writable 0777
Create
Cancel