-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.html
More file actions
153 lines (132 loc) · 3.7 KB
/
contact.html
File metadata and controls
153 lines (132 loc) · 3.7 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
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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>NSBE UMass Boston</title>
<link rel='stylesheet' href='style.css'>
</head>
<body>
<nav class='nav-bar'>
<div class='logo'>
<img src='gfx/nsbe.png'><img src='gfx/umb.png' style='height:80px'>
</div>
<ul class='nav-links' id='nav-links'>
<li><a href='index.html'>Home</a></li>
<li><a href='about.html'>About</a></li>
<li><a href='eboard.html'>E-Board</a></li>
<li><a href='#' style='color:#9d8412'>Contact</a></li>
</ul>
<div class='hamburger' id='hamburger'>
<div></div>
<div></div>
<div></div>
</div>
</nav>
<script>
const hamburger = document.getElementById('hamburger');
const navLinks = document.getElementById('nav-links');
hamburger.addEventListener('click', () => {
navLinks.classList.toggle('show');
});
</script>
<div class="contact-form">
<div class="form-header">
<h1>Contact Us</h1>
<p align='left'>If you’re interested in collaborating, please provide your information, and we will contact you soon.
We look forward to connecting with you.</p>
</div>
<form action="https://formsubmit.co/ishaan.rangnekar001@umb.edu" method="POST">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group full-width">
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<div class="form-group full-width">
<button type="submit">Send Message</button>
</div>
</form>
</div>
<style>
.contact-form {
max-width: 800px;
margin: auto;
padding: 50px 20px;
background: black;
border: 1px solid #9d8412;
border-radius: 10px;
text-align: center;
}
.form-header h1 {
color: #9d8412;
margin-bottom: 10px;
}
.form-header p {
font-size: 18px;
color: white;
margin-bottom: 30px;
}
form {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.form-group {
display: flex;
flex-direction: column;
text-align: left;
}
.form-group label {
font-size: 18px;
color: white;
margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
padding: 15px;
font-size: 16px;
border: 1px solid #9d8412;
border-radius: 5px;
background: black;
color: white;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #d4af37;
}
.form-group.full-width {
grid-column: span 2;
}
button {
padding: 15px 30px;
font-size: 18px;
font-weight: bold;
color: black;
background-color: #9d8412;
border: none;
border-radius: 50px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #b79a2c;
}
@media screen and (max-width: 768px) {
form {
grid-template-columns: 1fr;
}
.form-group.full-width {
grid-column: span 1;
}
}
</style>
</body>
</html>