|
6 | 6 | <title>My form exercise</title> |
7 | 7 | <meta name="description" content="" /> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
9 | | - <link rel="stylesheet" href="index.css" /> |
10 | 9 | </head> |
11 | 10 | <body> |
12 | | - |
13 | 11 | <header> |
14 | 12 | <h1>Product Pick</h1> |
15 | 13 | </header> |
16 | | - |
17 | 14 | <main> |
18 | | - |
19 | 15 | <form> |
20 | | - |
21 | | - <p> |
22 | | - <fieldset> |
23 | | - |
24 | | - <legend>Your Details</legend> |
25 | | - |
26 | | - <p> |
27 | | - <div> |
28 | | - <label for="name">Name: <input type="text" name="name" id="name" placeholder="John Smith" required></label> |
29 | | - </div> |
30 | | - </p> |
31 | | - <p> |
32 | | - <div> |
33 | | - <label for="email">Email: <input type="email" name="email" id="email" placeholder="example@email.com" required></label> |
34 | | - </p> |
35 | | - |
36 | | - </fieldset> |
37 | | - </p> |
38 | | - |
39 | | - <p> |
40 | | - <fieldset> |
41 | | - |
42 | | - <legend>Shirt Colour Options</legend> |
43 | | - |
44 | | - <p> |
45 | | - <div> |
46 | | - <input type="radio" name="color" id="colour_1" required> |
47 | | - <label for="colour_1">Red</label> |
48 | | - </div> |
49 | | - <div> |
50 | | - <input type="radio" name="color" id="colour_2"> |
51 | | - <label for="colour_2">Blue</label> |
52 | | - </div> |
53 | | - <div> |
54 | | - <input type="radio" name="color" id="colour_3"> |
55 | | - <label for="colour_3">Green</label> |
56 | | - </div> |
57 | | - </p> |
58 | | - |
59 | | - </fieldset> |
60 | | - </p> |
61 | | - |
62 | | - <p> |
63 | | - <fieldset> |
64 | | - |
65 | | - <legend>Shirt Size Options</legend> |
66 | | - |
67 | | - <p> |
68 | | - <select name="size" id="size" aria-label="Shirt Size Options" required> |
69 | | - <option value="">Please Select an Option</option> |
70 | | - <option value="xs">Extra Small</option> |
71 | | - <option value="s">Small</option> |
72 | | - <option value="m">Medium</option> |
73 | | - <option value="l">Large</option> |
74 | | - <option value="xl">Extra Large</option> |
75 | | - <option value="xll">Extra Extra Large</option> |
76 | | - </select> |
77 | | - </p> |
78 | | - |
79 | | - </fieldset> |
80 | | - </p> |
81 | | - |
82 | | - <div> |
83 | | - <p> |
84 | | - <button class="submit">Continue with selection</button> |
85 | | - </p> |
86 | | - </div> |
87 | | - |
| 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--> |
88 | 20 | </form> |
89 | | - |
90 | 21 | </main> |
91 | | - |
92 | 22 | <footer> |
93 | | - <p>By MATTHAUS BAUSE</p> |
| 23 | + <!-- change to your name--> |
| 24 | + <p>By HOMEWORK SOLUTION</p> |
94 | 25 | </footer> |
95 | | - |
96 | 26 | </body> |
97 | 27 | </html> |
0 commit comments