|
9 | 9 | </head> |
10 | 10 | <body> |
11 | 11 | <header> |
12 | | - <h1>Product Pick</h1> |
| 12 | + <h1>Pick product</h1> |
13 | 13 | </header> |
14 | 14 | <main> |
15 | 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--> |
| 16 | + |
| 17 | + <!-- 1. What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.--> |
| 18 | + <div> |
| 19 | + <label for="name">Name</label> |
| 20 | + <input type="text" name="name" id="name" pattern="`.*\S.*\S."> |
| 21 | + </div> |
| 22 | + <label for="email">email</label> |
| 23 | + <input type="email" name="email" id="email"> |
| 24 | + </div> |
| 25 | + <!--What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours? --> |
| 26 | + <label for="Color option">Color option</label> |
| 27 | + <select id="Coloroption" name="Color"> |
| 28 | + <option value="grey" >Grey</option> |
| 29 | + <option value="black">Black</option> |
| 30 | + <option value="red"> Red</option> |
| 31 | + </select> |
| 32 | + <!--What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL --> |
| 33 | + <label for="size">size</label> |
| 34 | + <select name="Size" id="Size"> |
| 35 | + <option value="XS" >XS</option> |
| 36 | + <option value="S" >S</option> |
| 37 | + <option value="M" >M</option> |
| 38 | + <option value="L" >L</option> |
| 39 | + <option value="XL" >XL</option> |
| 40 | + <option value="XXL" >XXL</option> |
| 41 | + |
| 42 | + |
| 43 | + </select> |
| 44 | + |
| 45 | + |
20 | 46 | </form> |
21 | 47 | </main> |
22 | 48 | <footer> |
23 | 49 | <!-- change to your name--> |
24 | | - <p>By HOMEWORK SOLUTION</p> |
| 50 | + <p> By Chandramani Gaire</p> |
25 | 51 | </footer> |
26 | 52 | </body> |
27 | 53 | </html> |
0 commit comments