|
7 | 7 | <meta name="description" content="" /> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
9 | 9 | <style> |
10 | | - body{ |
11 | | - align-items: center; |
12 | | - padding:10px; |
13 | | - } |
14 | | - label{ |
15 | | - display: block; |
16 | | - margin-bottom: 10px; |
17 | | - } |
18 | | - input{ |
19 | | - width: fit-content; |
20 | | - padding: 15px; |
21 | | - margin-bottom: 10px; |
22 | | - } |
| 10 | + body { |
| 11 | + align-items: center; |
| 12 | + padding: 10px; |
| 13 | + } |
| 14 | + label { |
| 15 | + display: block; |
| 16 | + margin-bottom: 10px; |
| 17 | + } |
| 18 | + input { |
| 19 | + width: fit-content; |
| 20 | + padding: 15px; |
| 21 | + margin-bottom: 10px; |
| 22 | + } |
23 | 23 | </style> |
24 | 24 | </head> |
25 | 25 | <body> |
@@ -49,23 +49,31 @@ <h1>Product Pick</h1> |
49 | 49 | /> |
50 | 50 | </div> |
51 | 51 | <div class="colour"> |
52 | | - <label for="red">Red</label> |
53 | | - <input type="radio" name="colour" id="red" value="Red"> |
54 | | - <label for="blue">Blue</label> |
55 | | - <input type="radio" name="colour" id="blue" value="Blue"> |
56 | | - <label for="green">Green</label> |
57 | | - <input type="radio" name="colour" id="green" value="Green"> |
| 52 | + <label for="red">Red</label> |
| 53 | + <input type="radio" name="colour" id="red" value="Red" /> |
| 54 | + <label for="blue">Blue</label> |
| 55 | + <input type="radio" name="colour" id="blue" value="Blue" /> |
| 56 | + <label for="green">Green</label> |
| 57 | + <input |
| 58 | + type="radio" |
| 59 | + name="colour" |
| 60 | + id="green" |
| 61 | + value="Green" |
| 62 | + /> |
58 | 63 | </div> |
59 | 64 | <div class="size"> |
60 | | - <label for="size">T-shirt Size</label> |
61 | | - <select name="size" id="size"> |
62 | | - <option value="XS">XS</option> |
63 | | - <option value="S">S</option> |
64 | | - <option value="M">M</option> |
65 | | - <option value="L">L</option> |
66 | | - <option value="XL">XL</option> |
67 | | - <option value="XXL">XXL</option> |
| 65 | + <label for="size">T-shirt Size</label> |
| 66 | + <select name="size" id="size"> |
| 67 | + <option value="XS">XS</option> |
| 68 | + <option value="S">S</option> |
| 69 | + <option value="M">M</option> |
| 70 | + <option value="L">L</option> |
| 71 | + <option value="XL">XL</option> |
| 72 | + <option value="XXL">XXL</option> |
| 73 | + </select> |
68 | 74 | </div> |
| 75 | + <button type="reset">Reset</button> |
| 76 | + <button type="submit">Submit</button> |
69 | 77 | </form> |
70 | 78 | </main> |
71 | 79 | <footer> |
|
0 commit comments