-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaqs.html
More file actions
64 lines (60 loc) · 1.76 KB
/
faqs.html
File metadata and controls
64 lines (60 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- faqs.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQs</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Include the navigation bar -->
<header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="about.html">About</a></li>
<li><a href="faqs.html">FAQs</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="login.html">Login</a></li>
<li><a href="profile.html">Profile</a></li>
</ul>
</nav>
</header>
<main>
<h1>FAQs</h1>
<div class="faq">
<div class="faq-question">What is the event registration process?</div>
<div class="faq-answer">You can register for events by going to the event registration page and filling out the form.</div>
</div>
<div class="faq">
<div class="faq-question">How can I contact the organizers?</div>
<div class="faq-answer">You can contact the organizers using the contact form on the contact page.</div>
</div>
</main>
<!-- Include the footer -->
<footer>
<p>© 2024 Your College Name. All rights reserved.</p>
</footer>
<script>
document.querySelectorAll('.faq-question').forEach(function(question) {
question.addEventListener('click', function() {
this.nextElementSibling.classList.toggle('visible');
});
});
</script>
<style>
.faq {
margin: 10px 0;
}
.faq-answer {
display: none;
margin-block-start: 10px;
}
.faq-answer.visible {
display: block;
}
</style>
</body>
</html>