|
1 | | -<!doctype html> |
| 1 | +<!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
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="formexercise.css" /> |
10 | 9 | </head> |
11 | 10 | <body> |
12 | 11 | <header> |
13 | 12 | <h1>Product Pick</h1> |
14 | 13 | </header> |
15 | 14 | <main> |
16 | 15 | <form> |
17 | | - <label for="name">Name:</label> |
18 | | - <input |
19 | | - type="text" |
20 | | - id="name" |
21 | | - name="name" |
22 | | - pattern=".*\S.*\S.*" |
23 | | - required |
24 | | - title="Please enter full name" |
25 | | - /> |
26 | | - <label for="email">Email:</label> |
27 | | - <input type="email" id="email" name="email" required /> |
28 | | - <br /> |
29 | | - <div> |
30 | | - <label for="color">Choose a color:</label> |
31 | | - <select name="color" id="color" required> |
32 | | - <option value="">Choose Color</option> |
33 | | - <option value="green">Green</option> |
34 | | - <option value="red">Red</option> |
35 | | - <option value="blue">Blue</option> |
36 | | - </select> |
37 | | - </div> |
38 | | - <div> |
39 | | - <label for="size">Choose a size:</label> |
40 | | - <select name="size" id="size" required> |
41 | | - <option value="">Choose Size</option> |
42 | | - <option value="XSmall">XS</option> |
43 | | - <option value="Small">S</option> |
44 | | - <option value="Medium">M</option> |
45 | | - <option value="Large">L</option> |
46 | | - <option value="XLarge">XL</option> |
47 | | - <option value="XXlarge">XXL</option> |
48 | | - </select> |
49 | | - </div> |
50 | | - <div> |
51 | | - <button type="submit">Submit</button> |
52 | | - </div> |
| 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--> |
53 | 20 | </form> |
54 | 21 | </main> |
55 | 22 | <footer> |
56 | | - <p>Maharit Belai</p> |
| 23 | + <!-- change to your name--> |
| 24 | + <p>By HOMEWORK SOLUTION</p> |
57 | 25 | </footer> |
58 | 26 | </body> |
59 | 27 | </html> |
0 commit comments