Skip to content

Commit 5b7222c

Browse files
committed
added label name and email and button
1 parent d28242a commit 5b7222c

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@ <h1>Product Pick</h1>
1414
<main>
1515
<form>
1616
<!-- write your html here-->
17-
<!--
17+
<label for="name">Name:</label>
18+
<!-- must enter name at least with two non space characters-->
19+
<input type="text" id="name" name="name"
20+
pattern=".*\s.*\s*" required title ="Please enter full name"/>
21+
<!-- email adress must follow a consistent pattern-->
22+
<label for="email">Email:</label>
23+
24+
<input type="email" id="email" name="email" required/>
25+
<div>
26+
<button type="submit"> Submit</button> </div>
27+
<!--
1828
try writing out the requirements first as comments
1929
this will also help you fill in your PR message later-->
2030
</form>

0 commit comments

Comments
 (0)