Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Added form submission
  • Loading branch information
pushkar009 authored Jan 30, 2025
1 parent f7bc85c commit 147471f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ <h2><small>Webpage for college department</small></h1>
<div class="container-sm" id="contact" style="padding: 20px;">
<h2 class="display-4">Contact Me</h2>
<b> Contact:</b> [email protected]<br>
<form action="/.php">
<form action="https://api.web3forms.com/submit" method="POST">
<div class="mb-3 mt-3">
<input type="hidden" name="access_key" value="03106a7e-154e-474c-9313-98116a0414b0">
<label for="name"><b>Name: <span class="text-danger">*</span></b></label>
<input type="text" class="form-control" id="name" placeholder="Enter your Name" name="name" required>
</div>
Expand All @@ -117,7 +118,7 @@ <h2 class="display-4">Contact Me</h2>
</div>
<button type="submit" class="btn btn-primary" onclick="submitForm()">Submit</button>
</form>
</div>
</div>

<footer>
<strong>
Expand Down

0 comments on commit 147471f

Please sign in to comment.