-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact_us.jsp
169 lines (146 loc) · 4.4 KB
/
contact_us.jsp
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<%--
Document : contact_us
Created on : 8 Oct 2024, 5:23:27 pm
Author : anama
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - Notes Sharing Website</title>
<style>
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
background-color: white;
padding: 10px 20px;
margin-top: 20px;
margin-left: 300px;
margin-right: 300px;
}
.nav-left h1 {
color: #333;
font-size: 24px;
}
.nav-right a {
color: #333;
text-decoration: none;
margin-left: 20px;
font-size: 16px;
}
.nav-right .signup-btn {
border: 2px solid #838485;
padding: 5px 15px;
border-radius: 5px;
background-color: transparent;
transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-right .signup-btn:hover {
background-color: #333;
color: white;
}
main {
margin: 20px auto;
max-width: 800px;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-section h2 {
text-align: center;
margin-bottom: 20px;
}
.contact-section p {
text-align: center;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
display: block;
width: 100%;
background-color: #1d3bb8;
color: #fff;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #555;
}
footer {
text-align: center;
padding: 10px 0;
background-color: #333;
color: #fff;
position: fixed;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>
<nav>
<div class="nav-left">
<a href="home_general.jsp"><h1>NoteHub</h1></a>
</div>
<div class="nav-right">
<a href="contact_us.jsp">Contact Us</a>
<a href="blog.jsp">Blog</a>
<a href="login.jsp">Login</a>
<a href="signup.jsp" class="signup-btn">Sign Up</a>
</div>
</nav>
<br><br>
<main>
<section class="contact-section">
<h2>Contact Us</h2>
<p>If you have any questions, feel free to contact us using the form below:</p>
<form action="submit_form.php" method="post">
<div class="form-group">
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit">Submit</button>
</form>
</section>
</main>
<footer>
<p>© 2024 Notes Sharing Website. All rights reserved.</p>
</footer>
</body>
</html>