Skip to content

Commit de31bb8

Browse files
committed
feat: add requirements comment block
1 parent c44123d commit de31bb8

1 file changed

Lines changed: 22 additions & 5 deletions

File tree

Form-Controls/index.html

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,28 @@ <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+
<!-- REQUIREMENTS:
17+
1. Collect customer's name (minimum 2 non‑space characters)
18+
2. Collect customer's email (must be a valid email format)
19+
3. Provide exactly 3 colour options
20+
4. Provide exactly 6 size options
21+
5. All fields must be required
22+
6. No JavaScript allowed
23+
-->
24+
25+
26+
<fieldset>
27+
<legend>Customer Details</legend>
28+
<!-- name + email will go here -->
29+
</fieldset>
30+
31+
<fieldset>
32+
<legend>T-Shirt Options</legend>
33+
<!-- colour + size will go here -->
34+
</fieldset>
35+
36+
<button type="submit">Submit Order</button>
37+
2138
</main>
2239
<footer>
2340
<!-- change to your name-->

0 commit comments

Comments
 (0)