Skip to content

Commit 74ebaf1

Browse files
Add t-shirt html file
1 parent a575a36 commit 74ebaf1

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

Form-Controls/index.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,44 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16+
<fieldset>
17+
<legend>Personal Information</legend>
18+
<label for="name">Name: </label>
19+
<input type="text" id="name" name="name" placeholder="name" pattern="^[A-Za-z ,.'-]{2,}$" required><br><br>
20+
<label for="Email">Email</label>
21+
<input type="email" id="email" name="email" placeholder="Email" required>
22+
</fieldset>
23+
<fieldset>
24+
<legend>t-shirt Details</legend>
25+
<label for="colour">Choose a size:</label>
26+
<select name="Size" id="Size" required>
27+
<option value="">select size:</option>
28+
<option value="XS">XS</option>
29+
<option value="XS">S</option>
30+
<option value="XS">M</option>
31+
<option value="XS">L</option>
32+
<option value="XS">Xl</option>
33+
<option value="XS">XXL</option>
34+
</select><br><br>
35+
<label for="colour">Choose a colour:</label>
36+
<select name="colour" id="colour" required>
37+
<option value="">select colour: </option>
38+
<option value="white">white</option>
39+
<option value="black">black</option>
40+
<option value="red">red</option>
41+
</select>
42+
</fieldset>
1643
<!-- write your html here-->
1744
<!--
1845
try writing out the requirements first as comments
1946
this will also help you fill in your PR message later-->
47+
<button type="submit">Place Order</button>
2048
</form>
49+
2150
</main>
2251
<footer>
2352
<!-- change to your name-->
24-
<h2>By HOMEWORK SOLUTION</h2>
53+
<h2>LONDON| MAY-2025 |SHIRIN PANAHIAN|FORM-CONTROL</h2>
2554
</footer>
2655
</body>
2756
</html>

0 commit comments

Comments
 (0)