@@ -208,6 +208,7 @@ function Contact() {
208208 { /* Full Name */ }
209209 < div >
210210 < label
211+ htmlFor = "fullname"
211212 className = { `block text-xs font-medium mb-1 ${
212213 mode === "dark"
213214 ? "text-gray-300"
@@ -217,6 +218,8 @@ function Contact() {
217218 Full Name
218219 </ label >
219220 < input
221+ id = "fullname"
222+ name = "fullname"
220223 type = "text"
221224 placeholder = "Enter your full name"
222225 required
@@ -231,6 +234,7 @@ function Contact() {
231234 { /* Email */ }
232235 < div >
233236 < label
237+ htmlFor = "email"
234238 className = { `block text-xs font-medium mb-1 ${
235239 mode === "dark"
236240 ? "text-gray-300"
@@ -240,6 +244,8 @@ function Contact() {
240244 Email Address
241245 </ label >
242246 < input
247+ id = "email"
248+ name = "email"
243249 type = "email"
244250 placeholder = "your.email@example.com"
245251 required
@@ -254,6 +260,7 @@ function Contact() {
254260 { /* Subject */ }
255261 < div >
256262 < label
263+ htmlFor = "subject"
257264 className = { `block text-xs font-medium mb-1 ${
258265 mode === "dark"
259266 ? "text-gray-300"
@@ -263,6 +270,8 @@ function Contact() {
263270 Subject
264271 </ label >
265272 < select
273+ id = "subject"
274+ name = "subject"
266275 className = { `w-full p-2 sm:p-3 rounded-lg sm:rounded-xl text-sm sm:text-base transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 ${
267276 mode === "dark"
268277 ? "bg-white/5 border border-white/20 text-white placeholder-gray-400"
@@ -284,6 +293,7 @@ function Contact() {
284293 { /* Message */ }
285294 < div className = "relative" >
286295 < label
296+ htmlFor = "message"
287297 className = { `block text-xs font-medium mb-1 ${
288298 mode === "dark"
289299 ? "text-gray-300"
@@ -293,6 +303,8 @@ function Contact() {
293303 Message
294304 </ label >
295305 < textarea
306+ id = "message"
307+ name = "message"
296308 placeholder = "Type your message here..."
297309 required
298310 rows = { 4 }
@@ -348,4 +360,4 @@ function Contact() {
348360 ) ;
349361}
350362
351- export default Contact ;
363+ export default Contact ;
0 commit comments