Skip to content

Commit 85db83b

Browse files
committed
v2
1 parent d071842 commit 85db83b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

index.html renamed to index.php

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<?php
2+
$c = $_GET['c'];
3+
if($c == 1)
4+
echo 'alert("Thank You! I will get back to you asap!")';
5+
?>
16
<!DOCTYPE html>
27
<html id="home">
38

@@ -214,24 +219,26 @@ <h1 class="white">Resume :</h1>
214219
<div class="container text-center">
215220

216221
<h1 class="white">Contact Me:</h1>
217-
<form class="border rounded pt-3 pb-3 pl-3 pr-3 white" action="#home">
222+
<form class="border rounded pt-3 pb-3 pl-3 pr-3 white" action="https://radiant-beach-22815.herokuapp.com/data" method="POST">
218223
<div class="form-group">
219224
<label for="Name">Name:</label>
220-
<input type="text" class="form-control" placeholder="YourName" required>
225+
<input type="text" name="name" class="form-control" placeholder="YourName" required>
221226
</div>
222227
<div class="form-group">
223228
<label for="Email">Email address:</label>
224-
<input type="email" class="form-control" placeholder="YourName@gmail.com" required>
229+
<input type="email" name="email" class="form-control" placeholder="YourName@gmail.com" required>
225230
</div>
226231
<div class="form-group">
227232
<label for="Textarea">Message:</label>
228-
<textarea class="form-control" id="textarea" rows="3" required></textarea>
233+
<textarea class="form-control" name="message" id="textarea" rows="3" required></textarea>
229234
</div>
230235
<button type="submit" class="btn btn-success btn-lg">Submit</button>
231236
</form>
232237
<div class="row white">
233238
<div class="col-12 col-6-md"><h1>Email: frhnmdni@gmail.com</h1></div>
234239
<div class="col-12 col-6-md"><h1>Contact Number: 7073803888</h1></div>
240+
<div class="col-6"><a href="https://github.com/webdevfarhan/"><i class="fa fa-github" aria-hidden="true"></i> Github</a></div>
241+
<div class="col-6"><a href="https://linkedin.com/in/farhan-madani-989538151/"><i class="fa fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></div>
235242
</div>
236243
</div>
237244
</div>
@@ -278,6 +285,7 @@ <h1 class="white">Contact Me:</h1>
278285
} // End if
279286
});
280287
</script>
288+
<script src="https://use.fontawesome.com/fb72a67e96.js"></script>
281289
</body>
282290

283291
</html>

0 commit comments

Comments
 (0)