0% found this document useful (0 votes)
36 views6 pages

Disha, HTML

Uploaded by

dishuvet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views6 pages

Disha, HTML

Uploaded by

dishuvet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

```html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Banner Creations - E-Commerce Business</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<div class="container">
<h1 class="blinking">Banner Creations</h1>
<button class="menu-toggle">Menu</button>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>

<section id="home">
<div class="container">
<h2>Welcome to Banner Creations</h2>
<p>Your one-stop solution for stunning banners for YouTube and other
platforms.</p>
<a href="#services" class="btn">Explore Our Services</a>
</div>
</section>

<section id="about">
<div class="container">
<h2>About Us</h2>
<p>We specialize in creating eye-catching banners that make your ads
stand out on various platforms including YouTube, social media, and more.</p>
<img src="about_us_graphic.jpg" alt="About Us Graphic" class="about-
graphic">
</div>
</section>

<section id="services">
<div class="container">
<h2>Our Services</h2>
<div class="service">
<img src="youtube_banner.jpg" alt="YouTube Banners" class="service-
image">
<h3>YouTube Banners</h3>
<p>High-quality banners designed to grab attention and drive
engagement.</p>
</div>
<div class="service">
<img src="social_media_banner.jpg" alt="Social Media Banners"
class="service-image">
<h3>Social Media Banners</h3>
<p>Banners optimized for Facebook, Instagram, Twitter, and other
social media platforms.</p>
</div>
<div class="service">
<img src="custom_banners.jpg" alt="Custom Banners" class="service-
image">
<h3>Custom Banners</h3>
<p>Custom-designed banners to fit your specific needs and
branding.</p>
</div>
</div>
</section>

<section id="portfolio">
<div class="container">
<h2>Our Portfolio</h2>
<div class="gallery">
<img src="banner1.jpg" alt="Banner 1">
<img src="banner2.jpg" alt="Banner 2">
<img src="banner3.jpg" alt="Banner 3">
</div>
</div>
</section>

<section id="contact">
<div class="container">
<h2>Contact Us</h2>
<form action="submit_form.php" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>

<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>

<button type="submit">Send Message</button>


</form>
</div>
</section>

<footer>
<div class="container">
<p>&copy; 2024 Banner Creations. All rights reserved.</p>
</div>
</footer>

<script>
document.querySelector('.menu-toggle').addEventListener('click', function()
{
document.querySelector('nav ul').classList.toggle('show');
});
</script>
</body>
</html>
```
### Updated `styles.css`

Add styles for images, animations, and the blinking light effect.

```css
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}

.container {
width: 80%;
margin: auto;
overflow: hidden;
}

header {
background: #333;
color: #fff;
padding-top: 30px;
min-height: 70px;
border-bottom: #fff 3px solid;
position: relative;
}

header h1 {
float: left;
}

.blinking {
animation: blinkingText 1.5s infinite;
}

@keyframes blinkingText {
0% { color: #fff; }
50% { color: #f00; }
100% { color: #fff; }
}

.menu-toggle {
display: none;
}

nav ul {
float: right;
list-style: none;
}

nav ul li {
display: inline;
margin-left: 20px;
}

nav ul li a {
color: #fff;
text-decoration: none;
}

section {
padding: 20px 0;
}

section h2 {
margin-bottom: 10px;
font-size: 2em;
}

section p {
margin-bottom: 20px;
}

.btn {
display: inline-block;
font-size: 1.2em;
color: #fff;
background: #333;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
}

.service {
margin-bottom: 20px;
}

.service-image {
width: 100%;
max-width: 300px;
display: block;
margin: 10px auto;
transition: transform 0.3s;
}

.service-image:hover {
transform: scale(1.05);
}

.gallery img {
width: 100%;
max-width: 300px;
margin: 10px;
border: 1px solid #ddd;
transition: transform 0.3s;
}

.gallery img:hover {
transform: scale(1.1);
}

form {
display: flex;
flex-direction: column;
}

form label {
margin-bottom: 5px;
}

form input,
form textarea {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}

form button {
background: #333;
color: #fff;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}

form button:hover {
background: #555;
}

footer {
background: #333;
color: #fff;
text-align: center;
padding: 10px;
position: absolute;
width: 100%;
bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
header h1 {
float: none;
text-align: center;
}

.menu-toggle {
display: block;
background: #333;
color: #fff;
border: none;
padding: 10px;
cursor: pointer;
}

nav ul {
float: none;
text-align: center;
margin-top: 10px;
}

nav ul li {
display: block;
margin: 0;
padding: 10px 0;
}
}
```

You might also like