Skip to content

Commit e44425b

Browse files
add input for name and email
1 parent f5b9e81 commit e44425b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16+
<div>
17+
<label for="name">Name</label>
18+
<input type="text" id="name" required pattern=".*\S.*\S.*"/>
19+
</div>
20+
<div>
21+
<label for="email">Email</label>
22+
<input type="email" id="email" required />
23+
</div>
24+
1625
<!-- write your html here-->
1726
<!--
1827
try writing out the requirements first as comments

0 commit comments

Comments
 (0)