Skip to content

Commit 4020a73

Browse files
committed
added netlify contact form
1 parent 551d6a7 commit 4020a73

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

starter/09-Omnifood-Optimizations/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,20 +536,26 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
536536
can cancel or pause anytime. And the first meal is on us!
537537
</p>
538538

539-
<form class="cta-form" action="#">
539+
<form class="cta-form" name="sign-up" netlify>
540540
<div>
541541
<label for="full-name">Full Name</label>
542-
<input id="full-name" type="text" placeholder="John Smith" required />
542+
<input
543+
id="full-name"
544+
type="text"
545+
placeholder="John Smith"
546+
name="full-name"
547+
required
548+
/>
543549
</div>
544550

545551
<div>
546552
<label for="email">Email address</label>
547-
<input id="email" type="email" placeholder="me@example.com" required />
553+
<input id="email" type="email" placeholder="me@example.com" name="email" required />
548554
</div>
549555

550556
<div>
551557
<label for="select-where">Where did you hear from us?</label>
552-
<select id="select-where" required>
558+
<select id="select-where" name="select-where" required>
553559
<option value="">Please choose one option:</option>
554560
<option value="friends">Friends and family</option>
555561
<option value="youtube">YouTube video</option>

0 commit comments

Comments
 (0)