Skip to content

Commit

Permalink
fixed the Name field in contact form
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvi2403 committed Jan 8, 2025
1 parent d9bdf79 commit 52a527b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1><i class="fas fa-envelope icon"></i> Contact Us</h1>

<form id="ContactForm">
<label for="name"><i class="fas fa-user icon"></i> Name:</label>
<input type="text" id="name" name="name" required>
<input type="text" name="name" pattern="[A-Za-z\s\-']+" title="Name must only contain letters, spaces, hyphens, or apostrophes" required>

<label for="email"><i class="fas fa-envelope icon"></i> Email:</label>
<input type="email" id="email" name="email" required>
Expand Down

0 comments on commit 52a527b

Please sign in to comment.