Skip to content

Commit c004818

Browse files
Add concise form requirements as comments above form
1 parent e79afe5 commit c004818

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ <h1>Product Pick</h1>
1212
</header>
1313

1414
<main>
15+
<!--
16+
Form requirements:
17+
- HTML only (no CSS or JS)
18+
- All inputs have associated labels
19+
- All fields required
20+
- Valid name (min 2 characters)
21+
- Valid email address
22+
- Choose 1 of 3 colors
23+
- Choose 1 of 6 sizes (XS–XXL)
24+
- No form action
25+
-->
26+
1527
<form>
1628
<fieldset>
1729
<legend>Customer Details</legend>

0 commit comments

Comments
 (0)