Skip to content

Commit 519b693

Browse files
committed
Fix name and add email section
1 parent fa4a57b commit 519b693

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
99
</head>
10+
1011
<body>
1112
<header>
1213
<h1>Product Pick</h1>
1314
</header>
15+
1416
<main>
1517
<form class="form">
1618
<!-- - [ ] My form is semantic HTML.
@@ -22,12 +24,24 @@ <h1>Product Pick</h1>
2224
- [ ] I require one colour from a defined set of 3 colours.
2325
- [ ] I require one size from a defined set of 6 sizes. !-->
2426

25-
<div class="form-group">
27+
<div>
2628
<label for="name"> Name</label>
27-
<input type="name" name="name" id="name" />
29+
<input type="text" name="name" id="name" minlength="2" required />
30+
<br><br>
31+
32+
<label for="email"> Email</label>
33+
<input type="email" name="email" id="email" required>
34+
<br><br>
35+
36+
<
37+
2838
</div>
39+
40+
41+
2942
</form>
30-
</main>
43+
</main>
44+
3145
<footer>
3246
<p>By Ahmed Elmahmoudi</p>
3347
</footer>

Form-Controls/style.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)