Skip to content

Commit 9c1ceb4

Browse files
complete form
1 parent ff7b9d0 commit 9c1ceb4

2 files changed

Lines changed: 25 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,33 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<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>
16+
<label for="name">Name:</label>
17+
<input type="text" id="name" name="name" required minlength="2" />
18+
<label for="email">Email:</label>
19+
<input type="email" id="email" name="email" required />
20+
<label for="colour">Choose a colour:</label>
21+
<select id="colour" name="colour" required>
22+
<option value="">Select a colour</option>
23+
<option value="black">Black</option>
24+
<option value="white">White</option>
25+
<option value="blue">Blue</option>
26+
</select>
27+
<label for="size">Choose a size:</label>
28+
<select id="size" name="size" required>
29+
<option value="">Select a size</option>
30+
<option value="XS">XS</option>
31+
<option value="S">S</option>
32+
<option value="M">M</option>
33+
<option value="L">L</option>
34+
<option value="XL">XL</option>
35+
<option value="XXL">XXL</option>
36+
</select>
37+
<button type="submit">Submit</button>
38+
</form>
2139
</main>
2240
<footer>
2341
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
42+
<p>By Alexandra Clincu </p>
2543
</footer>
2644
</body>
2745
</html>

GitHomeworkFixErrors

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit e002338b2c8013506bbdc4822968a11edc471688

0 commit comments

Comments
 (0)