|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | | - <meta charset="utf-8" /> |
5 | | - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 4 | + <meta charset="utf-8" > |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" > |
6 | 6 | <title>My form exercise</title> |
7 | | - <meta name="viewport" content="width=device-width, initial-scale=1" /> |
8 | | - <meta name="description" content="Form to pick your t-shirt"/> |
9 | | - <link rel="stylesheet" href="styles.css" /> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1" > |
| 8 | + <meta name="description" content="Form to pick your t-shirt"> |
| 9 | + <link rel="stylesheet" href="styles.css" > |
10 | 10 | </head> |
11 | 11 | <body> |
12 | 12 | <header> |
@@ -53,22 +53,22 @@ <h1>Product Pick</h1> |
53 | 53 | <legend>Customer info</legend> |
54 | 54 | <div> |
55 | 55 | <label for="name">Name</label> |
56 | | - <input id="name" type="text" required name="name" pattern=".*\S.*\S.*" /> |
| 56 | + <input id="name" type="text" required name="name" pattern=".*\S.*\S.*" > |
57 | 57 | </div> |
58 | 58 | <div> |
59 | 59 | <label for="email">Email</label> |
60 | | - <input id="email" type="email" name="email" required /> |
| 60 | + <input id="email" type="email" name="email" required > |
61 | 61 | </div> |
62 | 62 | </fieldset> |
63 | 63 | <fieldset id="tshirt-info"> |
64 | 64 | <legend>T-shirt info</legend> |
65 | 65 | <label for="color-radio-btns">Choose a colour:</label> |
66 | 66 | <section id="color-radio-btns"> |
67 | | - <input type="radio" name="color" id="white" value="white" required/> |
| 67 | + <input type="radio" name="color" id="white" value="white" required> |
68 | 68 | <label for="white">White</label> |
69 | | - <input type="radio" name="color" id="black" value="black"/> |
| 69 | + <input type="radio" name="color" id="black" value="black"> |
70 | 70 | <label for="black">Black</label> |
71 | | - <input type="radio" name="color" id="brown" value="brown"/> |
| 71 | + <input type="radio" name="color" id="brown" value="brown"> |
72 | 72 | <label for="brown">Brown</label> |
73 | 73 | </section> |
74 | 74 | <label for="size">Choose a size:</label> |
|
0 commit comments