|
12 | 12 | <h1>Product Pick</h1>
|
13 | 13 | </header>
|
14 | 14 | <main>
|
| 15 | + |
15 | 16 | <form>
|
16 | 17 | <!-- write your html here-->
|
17 | 18 | <!--
|
18 | 19 | try writing out the requirements first as comments
|
19 | 20 | this will also help you fill in your PR message later-->
|
| 21 | + <label for="fname">First name:</label><br> |
| 22 | + <input type="text" id="fname" name="fname" value="Your first name" required><br> |
| 23 | + <label for="lname">Last name:</label><br> |
| 24 | + <input type="text" id="lname" name="lname" value="Your last name" required><br> |
| 25 | + <!-- ######## --> |
| 26 | + <label for="email">Email:</label><br> |
| 27 | + <input type="email" id="email" name="email" value="Your email address" required><br> |
| 28 | + <!-- ######### --> |
| 29 | + <p>Choose your favorite colour of for the t-shirt:</p> |
| 30 | + <input type="radio" id="Green" name="fav_colour" value="Green" style="font-size: 24px"> |
| 31 | + <label for="Green">Green</label><br> |
| 32 | + |
| 33 | + <input type="radio" id="Yellow" name="fav_colour" value="Yellow"> |
| 34 | + <label for="Yellow">Yellow</label><br> |
| 35 | + |
| 36 | + <input type="radio" id="Blue" name="fav_colour" value="Blue"> |
| 37 | + <label for="Blue">Blue</label><br> |
| 38 | + |
| 39 | + <!-- ############ --> |
| 40 | + <p>Choose the size of for the t-shirt:</p> |
| 41 | + |
| 42 | + <input type="radio" id="xs" name="t_shirt_size" value="xs" required> |
| 43 | + <label for="xs">XS</label><br> |
| 44 | + |
| 45 | + <input type="radio" id="s" name="t_shirt_size" value="s"> |
| 46 | + <label for="s">S</label><br> |
| 47 | + |
| 48 | + <input type="radio" id="m" name="t_shirt_size" value="m"> |
| 49 | + <label for="m">M</label><br> |
| 50 | + |
| 51 | + <input type="radio" id="l" name="t_shirt_size" value="l"> |
| 52 | + <label for="l">L</label><br> |
| 53 | + |
| 54 | + <input type="radio" id="xl" name="t_shirt_size" value="xl"> |
| 55 | + <label for="xl">XL</label><br> |
| 56 | + |
| 57 | + <input type="radio" id="xll" name="t_shirt_size" value="xll"> |
| 58 | + <label for="xll">XLL</label><br> |
| 59 | + |
20 | 60 | </form>
|
| 61 | + <style> |
| 62 | + |
| 63 | + input[type="radio"] { |
| 64 | + width: 30px; |
| 65 | + height: 30px; |
| 66 | + margin-right: 12px; |
| 67 | + vertical-align: middle; |
| 68 | + } |
| 69 | + |
| 70 | + |
| 71 | + label { |
| 72 | + font-size: 18px; |
| 73 | + padding: 15px; |
| 74 | + display: inline-block; |
| 75 | + cursor: pointer; |
| 76 | + margin-bottom: 15px; |
| 77 | + } |
| 78 | + |
| 79 | + |
| 80 | + </style> |
21 | 81 | </main>
|
22 | 82 | <footer>
|
23 | 83 | <!-- change to your name-->
|
24 |
| - <h2>By HOMEWORK SOLUTION</h2> |
| 84 | + <h2>By Ahmed Mahmoud</h2> |
25 | 85 | </footer>
|
26 | 86 | </body>
|
27 | 87 | </html>
|
0 commit comments