Skip to content

Commit 3b831e3

Browse files
committed
add contact form
1 parent 2c1700f commit 3b831e3

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

ebook-landing-page/index.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,66 @@ <h5 class="mb-1">A must-buy for every aspiring web dev</h5>
462462
</section>
463463

464464
<!-- contact form -->
465+
<section id="contact">
466+
<div class="container-lg">
467+
<div class="text-center">
468+
<h2>Get in Touch</h2>
469+
<p class="lead">
470+
Questions to ask? Fill out the form to contact me directly...
471+
</p>
472+
</div>
473+
<div class="row justify-content-center my-5">
474+
<div class="col-lg-6">
475+
<form>
476+
<label for="email" class="form-label">Email address:</label>
477+
<div class="input-group mb-4">
478+
<span class="input-group-text"
479+
><i class="bi bi-envelope-fill text-secondary"></i
480+
></span>
481+
<input
482+
type="email"
483+
id="email"
484+
class="form-control"
485+
placeholder="e.g. mario@example.com"
486+
/>
487+
</div>
488+
<label for="name" class="form-label">Name:</label>
489+
<div class="mb-4 input-group">
490+
<span class="input-group-text">
491+
<i class="bi bi-person-fill text-secondary"></i>
492+
</span>
493+
<input
494+
type="text"
495+
id="name"
496+
class="form-control"
497+
placeholder="e.g. Mario"
498+
/>
499+
</div>
500+
<label for="subject" class="form-label"
501+
>What is your question about?</label
502+
>
503+
<div class="mb-4 input-group">
504+
<span class="input-group-text">
505+
<i class="bi bi-chat-right-dots-fill text-secondary"></i>
506+
</span>
507+
<select name="form-select" id="subject" class="form-select">
508+
<option value="pricing" selected>Pricing query</option>
509+
<option value="content">Content query</option>
510+
<option value="other">Other query</option>
511+
</select>
512+
</div>
513+
<div class="mb-4 mt-5 form-floating">
514+
<textarea id="query" class="form-control" style="height: 140px" placeholder="query"></textarea>
515+
<label for="query">Your query...</label>
516+
</div>
517+
<div class="mb-4 text-center">
518+
<button type="submit" class="btn btn-secondary">Submit</button>
519+
</div>
520+
</form>
521+
</div>
522+
</div>
523+
</div>
524+
</section>
465525

466526
<!-- get updates / modal trigger -->
467527

0 commit comments

Comments
 (0)