|
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>My form exercise work</title> |
7 | | - <link rel="stylesheet" href="Untitled-1.css" /> |
| 7 | + <link rel="stylesheet" href="style.css" /> |
8 | 8 | </head> |
| 9 | + |
9 | 10 | <body> |
10 | | - <main> |
11 | | - <h1>PRODUCT PICK</h1> |
| 11 | + <h1>PRODUCT PICK</h1> |
12 | 12 |
|
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="name" |
21 | | - minlength="2" |
22 | | - maxlength="100" |
23 | | - required |
24 | | - /> |
25 | | - </div> |
| 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> |
26 | 27 |
|
27 | | - <div> |
28 | | - <label for="email">EMAIL</label> |
29 | | - <input |
30 | | - type="email" |
31 | | - name="email" |
32 | | - id="email" |
33 | | - placeholder="email" |
34 | | - required |
35 | | - /> |
36 | | - </div> |
| 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> |
37 | 39 |
|
38 | | - <div> |
39 | | - <label for="colour">colour of T-shirt</label> |
40 | | - <select name="colour" id="colour" required> |
41 | | - <option value="" disabled selected hidden> |
42 | | - Please choose a colour |
43 | | - </option> |
44 | | - <option value="red">red</option> |
45 | | - <option value="blue">blue</option> |
46 | | - <option value="green">green</option> |
47 | | - </select> |
48 | | - </div> |
| 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> |
49 | 51 |
|
50 | | - <div> |
51 | | - T-shirt size |
52 | | - <label for="size">size of T-shirt</label> |
| 52 | + <div> |
| 53 | + T-shirt size |
| 54 | + <label for="size">size of T-shirt</label> |
53 | 55 |
|
54 | | - <select name="size" id="size" required> |
55 | | - <option value="" disabled selected hidden>Select size</option> |
56 | | - <option value="XS">XS</option> |
57 | | - <option value="S">S</option> |
58 | | - <option value="M">M</option> |
59 | | - <option value="L">L</option> |
60 | | - <option value="XL">XL</option> |
61 | | - <option value="XXL">XXL</option> |
62 | | - </select> |
63 | | - </div> |
| 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> |
64 | 66 |
|
65 | | - <button type="submit">Submit</button> |
66 | | - <p> |
67 | | - We are selling T-shirts. this is a form to collect the following data: |
68 | | - Our customers already have accounts, so we know their addresses and |
69 | | - charging details already. We don't need to collect that data. We want |
70 | | - to confirm they are the right person, then get them to choose a colour |
71 | | - and size. |
72 | | - </p> |
73 | | - </form> |
74 | | - </main> |
| 67 | + <button>Submit</button> |
| 68 | + We are selling T-shirts. this is a form to collect the following data Of |
| 69 | + our customers who already have accounts, so we know their addresses and |
| 70 | + charging, We want to confirm they are the right person, then get them to |
| 71 | + choose a colour and size. |
| 72 | + </form> |
75 | 73 | </body> |
76 | 74 | </html> |
0 commit comments