Skip to content

Commit db804ea

Browse files
Add email field with required validation
1 parent 0527d28 commit db804ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ <h1>Product Pick</h1>
2525
<label for="name">Name</label>
2626
<input type="text" id="name" name="name" pattern=".*\S.*\S.*" required>
2727
</div>
28+
<div class="field">
29+
<label for="email">Email</label>
30+
<input type="email" id="email" name="email" required>
31+
</div>
2832
<button type="submit">Submit</button>
2933
</form>
3034
</main>

0 commit comments

Comments
 (0)