Example output
HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Summer Collection | Seasonal Promotion</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Discover Our Summer Collection</h1>
<p>Get ready for the hottest trends of the season!</p>
</header>
<section class="cta-section">
<h2>Shop Now!</h2>
<p>Explore our latest summer styles and grab your favorites before they're gone.</p>
<a href="#" class="cta-btn">Shop Now</a>
</section>
<footer>
<p>© 2024 Summer Collection. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
CSS:
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header, section, footer {
padding: 20px;
}
/* Header Styles */
header {
background-color: #f9f9f9;
text-align: center;
}
header h1 {
color: #333;
}
/* CTA Section Styles */
.cta-section {
background-color: #ffcc00;
text-align: center;
color: #333;
}
.cta-btn {
display: inline-block;
padding: 10px 20px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
.cta-btn:hover {
background-color: #555;
}
/* Footer Styles */
footer {
background-color: #333;
color: #fff;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
}
JavaScript (script.js)
// JavaScript code can be added here for any interactive features if needed