|
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--> |
| 15 | + <form action="results.html" method="GET"> |
| 16 | + <div> |
| 17 | + <label for= "name"> Name </label> |
| 18 | + <input type= "text" name="Name" id="name" placeholder="Username" pattern=".*\S.*\S.*" title="Please enter at least two non-space characters." required> |
| 19 | + </div> |
| 20 | + |
| 21 | + |
| 22 | + <div> |
| 23 | + <label for="email"> Email</label> |
| 24 | + <input type= "email" name="Email" id="email" placeholder="Email" required> |
| 25 | + </div> |
| 26 | + T-shirt Color |
| 27 | + <div> |
| 28 | + <label for= "red">Red</label> |
| 29 | + <input type="radio" name="color" id="red" value="Red" required> |
| 30 | + </div> |
| 31 | + <div> |
| 32 | + <label for="blue">Blue</label> |
| 33 | + <input type="radio" name="color" id="blue" value="Blue"> |
| 34 | + </div> |
| 35 | + |
| 36 | + <div> |
| 37 | + <label for="pink">Pink</label> |
| 38 | + <input type="radio" name="color" id="pink" value="Pink"> |
| 39 | + </div> |
| 40 | + |
| 41 | + <div> |
| 42 | + <label for="size"> T-shirt Size's</label> |
| 43 | + <select name="T-shirt Size" id="size" required> |
| 44 | + |
| 45 | + |
| 46 | + <option label="Select a size " value=""></option> |
| 47 | + <option label="XS" value="XS"></option> |
| 48 | + <option label="S" value="S"></option> |
| 49 | + <option label="M" value="M"></option> |
| 50 | + <option label="L" value="L"></option> |
| 51 | + <option label="XL" value="XL"></option> |
| 52 | + <option label="XXL" value="XXL"></option> |
| 53 | + </select> |
| 54 | + |
| 55 | + </div> |
| 56 | + |
| 57 | + <div> |
| 58 | + <button type="reset">Reset</button> |
| 59 | + <button type="submit">Submit</button> |
| 60 | + |
| 61 | + </div> |
| 62 | + |
20 | 63 | </form> |
| 64 | + |
21 | 65 | </main> |
22 | 66 | <footer> |
23 | 67 | <!-- change to your name--> |
24 | | - <p>By HOMEWORK SOLUTION</p> |
| 68 | + <p>By Perrila Tamang</p> |
25 | 69 | </footer> |
26 | 70 | </body> |
27 | 71 | </html> |
0 commit comments