Skip to content

Commit 444811f

Browse files
committed
remove comment tags and change footer content
1 parent 7737aa9 commit 444811f

1 file changed

Lines changed: 15 additions & 28 deletions

File tree

Form-Controls/index.html

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,20 @@ <h1>Product Pick</h1>
1414
</header>
1515
<main>
1616
<form>
17-
<!-- write your html here-->
18-
<label for="name">Name:</label>
19-
<!-- must enter name at least with two non space characters-->
20-
<input type="text" id="name" name="name"
21-
pattern=".*\s.*\s*" required title ="Please enter full name"/>
22-
<!-- email adress must follow a consistent pattern-->
17+
<label for="name">Name:</label>
18+
<input type="text" id="name" name="name"
19+
pattern=".*\s.*\s*" required title ="Please enter full name"/>
2320
<label for="email">Email:</label>
24-
25-
<input type="email" id="email" name="email" required/>
26-
27-
<br>
28-
29-
30-
<!--must select color from 3 options-->
21+
<input type="email" id="email" name="email" required/>
22+
<br>
3123
<div>
32-
<label for="color">Choose a color:</label>
33-
<select name="color" id="color" required>
24+
<label for="color">Choose a color:</label>
25+
<select name="color" id="color" required>
3426
<option value="">Choose Color</option>
3527
<option value="green">Green</option>
3628
<option value="red">Red</option>
3729
<option value="blue">Blue</option>
38-
</select>
30+
</select>
3931
</div>
4032
<div>
4133
<label for="size">Choose a size:</label>
@@ -49,18 +41,13 @@ <h1>Product Pick</h1>
4941
<option value="XXlarge">XXL</option>
5042
</select>
5143
</div>
52-
53-
<div>
44+
<div>
5445
<button type="submit"> Submit</button>
55-
</div>
56-
<!--
57-
try writing out the requirements first as comments
58-
this will also help you fill in your PR message later-->
59-
</form>
60-
</main>
61-
<footer>
62-
<!-- change to your name-->
63-
<p>By HOMEWORK SOLUTION</p>
64-
</footer>
46+
</div>
47+
</form>
48+
</main>
49+
<footer>
50+
<p>Maharit Belai</p>
51+
</footer>
6552
</body>
6653
</html>

0 commit comments

Comments
 (0)