Skip to content

Commit 879b9a7

Browse files
committed
add: form sumited
1 parent 5829557 commit 879b9a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

certificado_html.pdf

222 KB
Binary file not shown.

starter/09-Omnifood-Optimizations/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,14 +595,15 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
595595
first meal is on us!
596596
</p>
597597

598-
<form class="cta-form" action="#">
598+
<form class="cta-form" name="sign-up" netlify>
599599
<div>
600600
<label for="full-name">Full Name</label>
601601
<input
602602
id="full-name"
603603
type="text"
604604
placeholder="John Smith"
605605
required
606+
name="full-name"
606607
/>
607608
</div>
608609

@@ -612,13 +613,14 @@ <h2 class="heading-secondary">Get your first meal for free!</h2>
612613
id="email"
613614
type="email"
614615
placeholder="me@example.com"
616+
name="email"
615617
required
616618
/>
617619
</div>
618620

619621
<div>
620622
<label for="select-where">Where did you hear from us?</label>
621-
<select id="select-where" required>
623+
<select id="select-where" name="select-where" required>
622624
<option value="">Please choose one option:</option>
623625
<option value="friends">Friends and family</option>
624626
<option value="youtube">YouTube video</option>

0 commit comments

Comments
 (0)