Skip to content

Commit 1731f7d

Browse files
committed
added name and email field
1 parent d28242a commit 1731f7d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15-
<form>
16-
<!-- write your html here-->
17-
<!--
18-
try writing out the requirements first as comments
19-
this will also help you fill in your PR message later-->
20-
</form>
15+
<form>
16+
<label for="name">Name:</label>
17+
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*">
18+
<label for="email">Email:</label>
19+
<input type="email" id="email" name="email" required>
20+
</form>
2121
</main>
2222
<footer>
2323
<!-- change to your name-->

0 commit comments

Comments
 (0)