Skip to content

Commit ef3c302

Browse files
committed
added labe; for color and size
1 parent b07d9e0 commit ef3c302

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Form-Controls/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<title>My form exercise</title>
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9+
<link rel ="stylesheet" href="formexercise.css">
910
</head>
1011
<body>
1112
<header>
@@ -21,7 +22,10 @@ <h1>Product Pick</h1>
2122
<!-- email adress must follow a consistent pattern-->
2223
<label for="email">Email:</label>
2324

24-
<input type="email" id="email" name="email" required/>
25+
<input type="email" id="email" name="email" required/>
26+
27+
<br>
28+
2529

2630
<!--must select color from 3 options-->
2731
<div>
@@ -41,10 +45,11 @@ <h1>Product Pick</h1>
4145
<option value="small">S</option>
4246
<option value="medium">M</option>
4347
<option value="large">L</option>
44-
<option value="xlarge">XL</option>
45-
<option value="xxlarge">XXL</option>
48+
<option value="Xlarge">XL</option>
49+
<option value="XXlarge">XXL</option>
4650
</select>
4751
</div>
52+
4853
<div>
4954
<button type="submit"> Submit</button>
5055
</div>

0 commit comments

Comments
 (0)