Skip to content

Commit 4846618

Browse files
committed
Added netlify attribute for for submissions
1 parent 99613d6 commit 4846618

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

starter/07-Omnifood-Desktop/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,13 +576,14 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
576576
first meal is on us!
577577
</p>
578578

579-
<form class="cta-form" action="#">
579+
<form class="cta-form" name="sign-up" netlify>
580580
<div>
581581
<label for="full-name">Full Name</label>
582582
<input
583583
id="full-name"
584584
type="text"
585585
placeholder="John Smith"
586+
name="full-name"
586587
required
587588
/>
588589
</div>
@@ -593,13 +594,14 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
593594
id="email"
594595
type="email"
595596
placeholder="me@example.com"
597+
name="email"
596598
required
597599
/>
598600
</div>
599601

600602
<div>
601603
<label for="select-where">Where did you hear from us?</label>
602-
<select name="" id="select-where" required>
604+
<select name="select-where" id="select-where" required>
603605
<option value="">Please choose one option:</option>
604606
<option value="friends">Friends and family</option>
605607
<option value="youtube">Youtube video</option>

0 commit comments

Comments
 (0)