|
12 | 12 | <h1>Product Pick</h1> |
13 | 13 | </header> |
14 | 14 | <main> |
15 | | - <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> |
| 15 | +<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 | + <fieldset> |
| 21 | + <label for="name"> |
| 22 | + <span>Customer Name: </span> |
| 23 | + <strong><span aria-label="required">*</span></strong> |
| 24 | + </label> |
| 25 | + <input type="text" id="name" name="customer-name" required pattern="[A-Za-z\s\.]+" minlength="2" maxlength="40"/> |
| 26 | + </fieldset> |
| 27 | + <fieldset> |
| 28 | + <label for="email"> |
| 29 | + <span>Email: </span> |
| 30 | + <strong><span aria-label="required">*</span></strong> |
| 31 | + </label> |
| 32 | + <input type="email" id="email" name="customer-mail" required minlength="5" maxlength="50" placeholder="example@gmail.com" /> |
| 33 | + </fieldset> |
| 34 | + <fieldset> |
| 35 | + <label for="color preference"> |
| 36 | + <span>Color:</span> |
| 37 | + <strong><span aria-label="required">*</span></strong> |
| 38 | + </label> |
| 39 | + <select id="color preference" name="color preference"> |
| 40 | + |
| 41 | + <option value="blue">Blue</option> |
| 42 | + <option value="white">White</option> |
| 43 | + <option value="red">Red</option> |
| 44 | + </select> |
| 45 | + </fieldset> |
| 46 | + <fieldset> |
| 47 | + <label for="size"> |
| 48 | + <span>Size</span> |
| 49 | + <strong><span aria-label="required">*</span></strong> |
| 50 | + </label> |
| 51 | + <select id="size" name="size"> |
| 52 | + <option value="xs">XS</option> |
| 53 | + <option value="s">S</option> |
| 54 | + <option value="m">M</option> |
| 55 | + <option value="l">L</option> |
| 56 | + <option value="xl">XL</option> |
| 57 | + <option value="xxl">XXL</option> |
| 58 | + </select> |
| 59 | + </fieldset> |
| 60 | + <button type="reset"> Reset</button> |
| 61 | + <button type="submit"> Submit</button> |
| 62 | +</form> |
| 63 | +<!-- change to your name--> |
21 | 64 | </main> |
22 | 65 | <footer> |
23 | | - <!-- change to your name--> |
24 | | - <h2>By HOMEWORK SOLUTION</h2> |
| 66 | + <h2>By Abraham Habte</h2> |
25 | 67 | </footer> |
26 | 68 | </body> |
27 | 69 | </html> |
0 commit comments