|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <title>My form exercise work</title> |
| 6 | + <title>Order Your Custom T-Shirt | Product Pick</title> |
| 7 | + <meta |
| 8 | + name="description" |
| 9 | + content="Select your preferred color and size to order your custom Product Pick T-shirt. Quick and easy checkout for existing account holders." |
| 10 | + /> |
7 | 11 | <link rel="stylesheet" href="style.css" /> |
8 | 12 | </head> |
9 | 13 |
|
10 | 14 | <body> |
11 | | - <h1>PRODUCT PICK</h1> |
| 15 | + <main> |
| 16 | + <h1>PRODUCT PICK</h1> |
12 | 17 |
|
13 | | - <form action="T-shirt.html" method="GET" class="form"> |
14 | | - <div> |
15 | | - <label for="name">NAME</label> |
16 | | - <input |
17 | | - type="text" |
18 | | - name="name" |
19 | | - id="name" |
20 | | - placeholder="Enter your name" |
21 | | - value="" |
22 | | - minlength="2" |
23 | | - maxlength="100" |
24 | | - required |
25 | | - /> |
26 | | - </div> |
| 18 | + <form action="T-shirt.html" method="GET" class="form"> |
| 19 | + <div> |
| 20 | + <label for="name">NAME</label> |
| 21 | + <input |
| 22 | + type="text" |
| 23 | + name="name" |
| 24 | + id="name" |
| 25 | + placeholder="Enter your name" |
| 26 | + value="" |
| 27 | + minlength="2" |
| 28 | + maxlength="100" |
| 29 | + autocomplete="name" |
| 30 | + required |
| 31 | + /> |
| 32 | + </div> |
27 | 33 |
|
28 | | - <div> |
29 | | - <label for="email">EMAIL</label> |
30 | | - <input |
31 | | - type="email" |
32 | | - name="email" |
33 | | - id="email" |
34 | | - placeholder="Enter your email" |
35 | | - value="" |
36 | | - required |
37 | | - /> |
38 | | - </div> |
| 34 | + <div> |
| 35 | + <label for="email">EMAIL</label> |
| 36 | + <input |
| 37 | + type="email" |
| 38 | + name="email" |
| 39 | + id="email" |
| 40 | + placeholder="Enter your email" |
| 41 | + value="" |
| 42 | + autocomplete="email" |
| 43 | + required |
| 44 | + /> |
| 45 | + </div> |
39 | 46 |
|
40 | | - <div> |
41 | | - <label for="colour">colour of T-shirt</label> |
42 | | - <select name="colour" id="colour" required> |
43 | | - <option value="" disabled selected hidden> |
44 | | - Please choose a colour |
45 | | - </option> |
46 | | - <option value="red">red</option> |
47 | | - <option value="blue">blue</option> |
48 | | - <option value="green">green</option> |
49 | | - </select> |
50 | | - </div> |
| 47 | + <div> |
| 48 | + <label for="colour">colour of T-shirt</label> |
| 49 | + <select name="colour" id="colour" required> |
| 50 | + <option value="" disabled selected>Please choose a colour</option> |
| 51 | + <option value="red">red</option> |
| 52 | + <option value="blue">blue</option> |
| 53 | + <option value="green">green</option> |
| 54 | + </select> |
| 55 | + </div> |
51 | 56 |
|
52 | | - <div> |
53 | | - T-shirt size |
54 | | - <label for="size">size of T-shirt</label> |
| 57 | + <div> |
| 58 | + <label for="size">size of T-shirt</label> |
| 59 | + <select name="size" id="size" required> |
| 60 | + <option value="" disabled selected>Select size</option> |
| 61 | + <option value="XS">XS</option> |
| 62 | + <option value="S">S</option> |
| 63 | + <option value="M">M</option> |
| 64 | + <option value="L">L</option> |
| 65 | + <option value="XL">XL</option> |
| 66 | + <option value="XXL">XXL</option> |
| 67 | + </select> |
| 68 | + </div> |
55 | 69 |
|
56 | | - <select name="size" id="size" required> |
57 | | - <option value="" disabled selected hidden>Select size</option> |
58 | | - <option value="XS">XS</option> |
59 | | - <option value="S">S</option> |
60 | | - <option value="M">M</option> |
61 | | - <option value="L">L</option> |
62 | | - <option value="XL">XL</option> |
63 | | - <option value="XXL">XXL</option> |
64 | | - </select> |
65 | | - </div> |
| 70 | + <button type="submit">Submit</button> |
66 | 71 |
|
67 | | - <button type="submit">Submit</button> |
68 | | - |
69 | | - <p> |
70 | | - We are selling T-shirts. this is a form to collect the following data Of |
71 | | - our customers who already have accounts, so we know their addresses and |
72 | | - charging, We want to confirm they are the right person, then get them to |
73 | | - choose a colour and size. |
74 | | - </p> |
75 | | - </form> |
| 72 | + <p> |
| 73 | + We are selling T-shirts. this is a form to collect the following data |
| 74 | + Of our customers who already have accounts, so we know their addresses |
| 75 | + and charging, We want to confirm they are the right person, then get |
| 76 | + them to choose a colour and size. |
| 77 | + </p> |
| 78 | + </form> |
| 79 | + </main> |
76 | 80 | </body> |
77 | 81 | </html> |
0 commit comments