-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
116 lines (111 loc) · 4.12 KB
/
Copy pathcontact.html
File metadata and controls
116 lines (111 loc) · 4.12 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact - E-Learning Platform</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
body {
background-color: #f8f9fa;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.navbar {
margin-bottom: 20px;
}
.contact-box {
background-color: white;
padding: 40px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: transform 0.3s, background-color 0.3s;
margin: 50px auto;
max-width: 500px;
}
.contact-box:hover {
transform: translateY(-10px);
background-color: #e9ecef;
}
.footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: auto;
}
.icon-footer a {
color: white;
margin: 0 15px;
text-decoration: none;
font-size: 1.5rem;
}
.icon-footer a:hover {
color: #007bff;
}
.navbar-nav .nav-item {
padding: 0 10px;
}
/* Search Bar Styling */
.search-bar {
display: flex;
align-items: center;
}
.search-bar input {
width: 200px;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="home.html">E-Learning</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item"><a class="nav-link" href="home.html">Home</a></li>
<li class="nav-item"><a class="nav-link" href="about.html">About</a></li>
<li class="nav-item"><a class="nav-link" href="#">Courses</a></li>
<li class="nav-item"><a class="nav-link" href="contact.html">Contact</a></li>
</ul>
<div class="search-bar">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</div>
</div>
</div>
</nav>
<!-- Contact Section -->
<div class="contact-box text-center">
<h2>Contact Us</h2>
<p>We'd love to hear from you! Fill out the form below to get in touch with us.</p>
<form>
<div class="mb-3">
<input type="text" class="form-control" placeholder="Your Name" required>
</div>
<div class="mb-3">
<input type="email" class="form-control" placeholder="Your Email" required>
</div>
<div class="mb-3">
<textarea class="form-control" rows="4" placeholder="Your Message" required></textarea>
</div>
<button type="submit" class="btn btn-outline-success">Send Message</button>
</form>
</div>
<!-- Footer -->
<div class="footer">
<p>© 2025 E-Learning Platform</p>
<div class="icon-footer">
<a href="#" target="_blank"><i class="fab fa-facebook-f"></i></a>
<a href="#" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="#" target="_blank"><i class="fab fa-youtube"></i></a>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>