Skip to content

Commit c1b5342

Browse files
Fixed error in code.
corrected sizes
1 parent d28242a commit c1b5342

1 file changed

Lines changed: 32 additions & 6 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,45 @@
99
</head>
1010
<body>
1111
<header>
12-
<h1>Product Pick</h1>
12+
<h1>Pick product</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+
17+
<!-- 1. What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.-->
18+
<div>
19+
<label for="name">Name</label>
20+
<input type="text" name="name" id="name" pattern="`.*\S.*\S.">
21+
</div>
22+
<label for="email">email</label>
23+
<input type="email" name="email" id="email">
24+
</div>
25+
<!--What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours? -->
26+
<label for="Color option">Color option</label>
27+
<select id="Coloroption" name="Color">
28+
<option value="grey" >Grey</option>
29+
<option value="black">Black</option>
30+
<option value="red"> Red</option>
31+
</select>
32+
<!--What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL -->
33+
<label for="size">size</label>
34+
<select name="Size" id="Size">
35+
<option value="XS" >XS</option>
36+
<option value="S" >S</option>
37+
<option value="M" >M</option>
38+
<option value="L" >L</option>
39+
<option value="XL" >XL</option>
40+
<option value="XXL" >XXL</option>
41+
42+
43+
</select>
44+
45+
2046
</form>
2147
</main>
2248
<footer>
2349
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
50+
<p> By Chandramani Gaire</p>
2551
</footer>
2652
</body>
2753
</html>

0 commit comments

Comments
 (0)