|
4 | 4 | <meta charset="utf-8" /> |
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
6 | 6 | <title>My form exercise</title> |
7 | | - <meta name="description" content="" /> |
| 7 | + <meta name="description" content="form exercise demonstrating accessible form controls." /> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
9 | 9 | </head> |
10 | 10 | <body> |
11 | 11 | <header> |
12 | | - <h1>Product Pick</h1> |
| 12 | + <h1>My Store T-shirt Sales</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 | + <div> |
| 17 | + <label for="name">Name</label> |
| 18 | + <input type="text" name="name" id="name" placeholder="Username" required> |
| 19 | + </div> |
| 20 | + |
| 21 | + <div> |
| 22 | + <label for="email">Email</label> |
| 23 | + <input type="email" name="email" id="email" placeholder="Name@example.com" required> |
| 24 | + </div> |
| 25 | + |
| 26 | + <div> |
| 27 | + <label for="color">Color</label> |
| 28 | + <select name="color" id="color" required> |
| 29 | + <option value="" disabled selected>-- select a color --</option> |
| 30 | + <option value="Black">Black</option> |
| 31 | + <option value="Blue">blue</option> |
| 32 | + <option value="Green">green</option> |
| 33 | + </select> |
| 34 | + </div> |
| 35 | + |
| 36 | + <div> |
| 37 | + <label for="size">size</label> |
| 38 | + <select name="size" id="size" required> |
| 39 | + <option value="" disabled selected> -- select a size --</option> |
| 40 | + <option value="XS">XS</option> |
| 41 | + <option value="S">S</option> |
| 42 | + <option value="M">M</option> |
| 43 | + <option value="L">L</option> |
| 44 | + <option value="XL">XL</option> |
| 45 | + <option value="XXL">XXL</option> |
| 46 | + </select> |
| 47 | + </div> |
20 | 48 | </form> |
21 | 49 | </main> |
22 | 50 | <footer> |
23 | | - <!-- change to your name--> |
24 | | - <p>By HOMEWORK SOLUTION</p> |
| 51 | + <p>Exercise by Toluwalase Tiamiyu</p> |
25 | 52 | </footer> |
26 | 53 | </body> |
27 | 54 | </html> |
0 commit comments