Skip to content

Commit a8221e6

Browse files
committed
Add label email
1 parent 70fadbd commit a8221e6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16+
<!-- label for the name input -->
1617
<label for="name">Name:</label>
17-
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*"><br>
18+
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*"><br><br>
19+
20+
<!-- label for the email input -->
21+
<label for="email">Email:</label>
22+
<input type="email" id="email" name="email" required><br><br>
1823

1924

2025

0 commit comments

Comments
 (0)