Skip to content

Commit dddd83f

Browse files
committed
Line 28{id attribute corrected}
1 parent c95e627 commit dddd83f

1 file changed

Lines changed: 35 additions & 8 deletions

File tree

Form-Controls/index.html

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,51 @@
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<title>My form exercise</title>
7-
<meta name="description" content="" />
7+
<meta name="description" content="form exercise demonstrating accessible form controls." />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
99
</head>
1010
<body>
1111
<header>
12-
<h1>Product Pick</h1>
12+
<h1>My Store T-shirt Sales</h1>
1313
</header>
1414
<main>
1515
<form>
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-->
16+
<div>
17+
<label for="name">Name</label>
18+
<input type="text" name="name" id="name" placeholder="Username" required>
19+
</div>
20+
21+
<div>
22+
<label for="email">Email</label>
23+
<input type="email" name="email" id="email" placeholder="Name@example.com" required>
24+
</div>
25+
26+
<div>
27+
<label for="color">Color</label>
28+
<select name="color" id="color" required>
29+
<option value="" disabled selected>-- select a color --</option>
30+
<option value="Black">Black</option>
31+
<option value="Blue">blue</option>
32+
<option value="Green">green</option>
33+
</select>
34+
</div>
35+
36+
<div>
37+
<label for="size">size</label>
38+
<select name="size" id="size" required>
39+
<option value="" disabled selected> -- select a size --</option>
40+
<option value="XS">XS</option>
41+
<option value="S">S</option>
42+
<option value="M">M</option>
43+
<option value="L">L</option>
44+
<option value="XL">XL</option>
45+
<option value="XXL">XXL</option>
46+
</select>
47+
</div>
2048
</form>
2149
</main>
2250
<footer>
23-
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
51+
<p>Exercise by Toluwalase Tiamiyu</p>
2552
</footer>
2653
</body>
2754
</html>

0 commit comments

Comments
 (0)