Modern coming soon template with countdown timer, email signup, and animated background.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Launching Soon | Something Amazing</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="coming-soon">
<div class="animated-bg"></div>
<div class="overlay"></div>
<div class="container">
<div class="content">
<div class="logo">✨ LaunchPad</div>
<div class="main-content">
<h1>Something Amazing is<br><span>Coming Soon</span></h1>
<p>We're working hard to bring you something extraordinary. Stay tuned for the launch!</p>
</div>
<div class="countdown" id="countdown">
<div class="countdown-item">
<span id="days">00</span>
<label>Days</label>
</div>
<div class="countdown-item">
<span id="hours">00</span>
<label>Hours</label>
</div>
<div class="countdown-item">
<span id="minutes">00</span>
<label>Minutes</label>
</div>
<div class="countdown-item">
<span id="seconds">00</span>
<label>Seconds</label>
</div>
</div>
<div class="notify">
<h3>Get notified when we launch</h3>
<div class="form-group">
<input type="email" id="email" placeholder="Enter your email address">
<button id="notifyBtn">Notify Me <i class="fas fa-arrow-right"></i></button>
</div>
</div>
<div class="social">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
/* Coming Soon Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
overflow-x: hidden;
}
.coming-soon {
min-height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
}
.animated-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
z-index: -2;
}
.animated-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('data:image/svg+xml,') repeat-x bottom;
background-size: cover;
animation: moveWave 20s linear infinite;
opacity: 0.3;
}
@keyframes moveWave {
0% { background-position-x: 0; }
100% { background-position-x: 1440px; }
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.3);
z-index: -1;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
.content {
position: relative;
z-index: 1;
}
.logo {
font-size: 2rem;
font-weight: 800;
letter-spacing: 2px;
margin-bottom: 2rem;
opacity: 0.9;
}
.main-content {
margin-bottom: 3rem;
}
.main-content h1 {
font-size: 3.5rem;
line-height: 1.2;
margin-bottom: 1rem;
}
.main-content h1 span {
color: #ffd700;
position: relative;
display: inline-block;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.main-content p {
font-size: 1.2rem;
opacity: 0.9;
max-width: 500px;
margin: 0 auto;
}
/* Countdown */
.countdown {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.countdown-item {
background: rgba(255,255,255,0.15);
backdrop-filter: blur(10px);
padding: 1.5rem;
border-radius: 16px;
min-width: 100px;
text-align: center;
border: 1px solid rgba(255,255,255,0.2);
}
.countdown-item span {
font-size: 2.5rem;
font-weight: 800;
display: block;
}
.countdown-item label {
font-size: 0.8rem;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Notify Form */
.notify h3 {
font-size: 1.3rem;
margin-bottom: 1rem;
font-weight: 500;
}
.form-group {
display: flex;
justify-content: center;
gap: 0.5rem;
flex-wrap: wrap;
max-width: 500px;
margin: 0 auto;
}
.form-group input {
flex: 1;
padding: 1rem;
border: none;
border-radius: 50px;
font-size: 1rem;
background: rgba(255,255,255,0.9);
min-width: 250px;
}
.form-group input:focus {
outline: none;
background: white;
}
.form-group button {
background: #ffd700;
color: #333;
border: none;
padding: 1rem 2rem;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.form-group button:hover {
background: #ffed4a;
transform: translateY(-2px);
}
/* Social Links */
.social {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-top: 3rem;
}
.social a {
color: white;
font-size: 1.3rem;
transition: all 0.3s;
opacity: 0.8;
}
.social a:hover {
opacity: 1;
transform: translateY(-3px);
}
/* Responsive */
@media (max-width: 768px) {
.main-content h1 {
font-size: 2rem;
}
.main-content p {
font-size: 1rem;
}
.countdown-item {
padding: 1rem;
min-width: 70px;
}
.countdown-item span {
font-size: 1.5rem;
}
.form-group {
flex-direction: column;
align-items: stretch;
}
.form-group input {
text-align: center;
}
}
// Coming Soon JavaScript
// Countdown Timer - Set launch date (30 days from now)
function updateCountdown() {
// Set launch date to 30 days from now
const launchDate = new Date();
launchDate.setDate(launchDate.getDate() + 30);
launchDate.setHours(0, 0, 0, 0);
const now = new Date();
const diff = launchDate - now;
if (diff <= 0) {
document.getElementById('countdown').innerHTML = '🎉';
return;
}
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
const hours = Math.floor((diff % (86400000)) / (3600000));
const minutes = Math.floor((diff % (3600000)) / (60000));
const seconds = Math.floor((diff % (60000)) / 1000);
document.getElementById('days').innerText = String(days).padStart(2, '0');
document.getElementById('hours').innerText = String(hours).padStart(2, '0');
document.getElementById('minutes').innerText = String(minutes).padStart(2, '0');
document.getElementById('seconds').innerText = String(seconds).padStart(2, '0');
}
// Update every second
updateCountdown();
setInterval(updateCountdown, 1000);
// Notify Me Button Handler
const notifyBtn = document.getElementById('notifyBtn');
const emailInput = document.getElementById('email');
notifyBtn.addEventListener('click', () => {
const email = emailInput.value.trim();
if (email && email.includes('@') && email.includes('.')) {
alert(`✅ Thanks! We'll notify ${email} when we launch.`);
emailInput.value = '';
} else {
alert('❌ Please enter a valid email address.');
}
});
// Enter key also submits
emailInput.addEventListener('keypress', (e) => {
if (e.key === 'Enter') {
notifyBtn.click();
}
});
// Floating animation for elements
const logo = document.querySelector('.logo');
if (logo) {
setInterval(() => {
logo.style.transform = 'translateY(0px)';
setTimeout(() => {
logo.style.transform = 'translateY(-2px)';
}, 200);
}, 3000);
}
console.log('Coming soon page ready! Launch countdown active.');