Skip to content

Commit 37961e3

Browse files
committed
Add name field
1 parent d28242a commit 37961e3

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
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -12,11 +12,11 @@
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-->
15+
<form class="form">
16+
<label for="name">Name:</label>
17+
<input type="text" name="name" id="name" minlength="2" required />
18+
19+
<br /><br />
2020
</form>
2121
</main>
2222
<footer>

0 commit comments

Comments
 (0)