Skip to content

Commit a94f1b6

Browse files
committed
JohnRobinson-Form
1 parent ff7b9d0 commit a94f1b6

1 file changed

Lines changed: 39 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,48 @@ <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+
<form class="order-form">
17+
<h2>T Shirt Order Form</h2>
18+
19+
<!-- Name Field -->
20+
<div class="form-group">
21+
<label for="name">Full Name</label>
22+
<input type="text" id="name" name="name" placeholder="John Robinson" required>
23+
</div>
24+
25+
<!-- Email Field -->
26+
<div class="form-group">
27+
<label for="email">Email Address</label>
28+
<input type="email" id="email" name="email" placeholder="john@example.com" required>
29+
</div>
30+
31+
<!-- Shirt Colour 3 colours only-->
32+
<div class="form-group">
33+
<label for="colour">T Shirt Colour</label>
34+
<select id="Colour" name="Colour">
35+
<option value="Red">Red</option>
36+
<option value="White">White</option>
37+
<option value="Black">Black</option>
38+
</select>
39+
</div>
40+
41+
<!-- Shirt size xs - xxl -->
42+
<div class="form-group">
43+
<label for="Size">T Shirt Size</label>
44+
<select id="Size" name="Size">
45+
<option value="XS">XSmall</option>
46+
<option value="S">Small</option>
47+
<option value="M">Medium</option>
48+
<option value="L">Large</option>
49+
<option value="XL">XLarge</option>
50+
<option value="XXL">XXLarge</option>
51+
</select>
52+
</div>
53+
</form>
2154
</main>
2255
<footer>
2356
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
57+
<p>By John Robinson</p>
2558
</footer>
2659
</body>
2760
</html>

0 commit comments

Comments
 (0)