-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
678 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,15 @@ | |
transform: translateY(10px); /* Slight bounce */ | ||
opacity: 1; | ||
} | ||
|
||
#thankYouMessage { | ||
margin-top: 20px; | ||
font-size: 18px; | ||
color: green; | ||
display: none; /* Initially hidden */ | ||
} | ||
|
||
|
||
100% { | ||
transform: translateY(0); | ||
} | ||
|
@@ -157,7 +166,11 @@ | |
z-index: 99999999; | ||
/* Stays on top of all elements */ | ||
} | ||
|
||
} | ||
|
||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
|
@@ -276,6 +289,60 @@ <h2>Feedback System</h2> | |
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<!-- Footer --> | ||
|
||
<footer> | ||
<div style="background-color: #333; color: white; padding: 20px;"> | ||
<div style="display: flex; justify-content: space-between; flex-wrap: wrap;"> | ||
<!-- Quick Links Section --> | ||
<div style="flex: 1; min-width: 200px;"> | ||
<h3>Quick Links</h3> | ||
<ul style="list-style-type: none; padding: 0;"> | ||
<li><a href="about.html" style="color: white; text-decoration: none;">About Us</a></li> | ||
<li><a href="contact.html" style="color: white; text-decoration: none;">Contact Us</a></li> | ||
<li><a href="privacy.html" style="color: white; text-decoration: none;">Privacy Policy</a></li> | ||
<li><a href="terms.html" style="color: white; text-decoration: none;">Terms of Service</a></li> | ||
<li><a href="sitemap.html" style="color: white; text-decoration: none;">Site Map</a></li> | ||
</ul> | ||
</div> | ||
|
||
<!-- Contact Information Section --> | ||
<div style="flex: 1; min-width: 200px;"> | ||
<h3>Contact Info</h3> | ||
<p>123 Emergency Lane, Mumbai, India</p> | ||
<p>Email:[email protected]</p> | ||
<p>Phone: +91-911-1234567</p> | ||
</div> | ||
|
||
<!-- Social Media Links --> | ||
<div style="flex: 1; min-width: 200px;"> | ||
<h3>Follow Us</h3> | ||
<a href="https://www.facebook.com" style="color: white; text-decoration: none; margin-right: 10px;"><i class="fab fa-facebook-f"></i> Facebook</a><br> | ||
<a href="https://www.twitter.com" style="color: white; text-decoration: none; margin-right: 10px;"><i class="fa-brands fa-x-twitter"></i> Twitter</a><br> <!--upadted--> | ||
<a href="https://www.instagram.com" style="color: white; text-decoration: none; margin-right: 10px;"><i class="fab fa-instagram"></i> Instagram</a><br> | ||
<a href="https://www.linkedin.com" style="color: white; text-decoration: none; margin-right: 10px;"><i class="fab fa-linkedin-in"></i> LinkedIn</a> | ||
</div> | ||
|
||
<!-- Newsletter Subscription --> | ||
<div class="accordion"> | ||
<div class="accordion__header">Subscribe to Newsletter</div> | ||
<div class="accordion__content"> | ||
<!-- Subscription form --> | ||
<form id="subscribeForm"> | ||
<input type="email" id="emailInput" placeholder="Your Email" required> | ||
<button type="submit">Subscribe</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<!-- Thank You Message (Initially Hidden) --> | ||
<div id="thankYouMessage" style="display:none;"> | ||
<p>Thank you for subscribing!</p> | ||
</div> | ||
</div> | ||
|
||
<!-- Footer --> | ||
|
||
<footer style= " color: #f3f4f6; text-align: center; width: 100%;"> | ||
|
@@ -394,5 +461,36 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to | |
</footer> | ||
|
||
|
||
<script> | ||
// Accordion Functionality | ||
const accordionHeader = document.querySelector('.accordion__header'); | ||
const accordionContent = document.querySelector('.accordion__content'); | ||
|
||
accordionHeader.addEventListener('click', function() { | ||
if (accordionContent.style.display === 'block') { | ||
accordionContent.style.display = 'none'; | ||
} else { | ||
accordionContent.style.display = 'block'; | ||
} | ||
}); | ||
|
||
// Form Submission Functionality | ||
const form = document.getElementById('subscribeForm'); | ||
const thankYouMessage = document.getElementById('thankYouMessage'); | ||
|
||
form.addEventListener('submit', function(event) { | ||
event.preventDefault(); // Prevent the default form submission behavior | ||
|
||
// Show the thank you message | ||
thankYouMessage.style.display = 'block'; | ||
|
||
// Hide the accordion content after submission | ||
accordionContent.style.display = 'none'; | ||
|
||
// Clear the input field | ||
document.getElementById('emailInput').value = ''; | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,4 @@ accordions.forEach((accordion, index) => { | |
} | ||
}); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.