Skip to content

Commit b25e010

Browse files
committed
created a form for t-shirts
1 parent b1c7100 commit b25e010

1 file changed

Lines changed: 71 additions & 24 deletions

File tree

Form-Controls/index.html

Lines changed: 71 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,74 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6-
<title>My form exercise</title>
7-
<meta name="description" content="" />
8-
<meta name="viewport" content="width=device-width, initial-scale=1" />
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
<title>My form exercise</title>
8+
<meta name="description" content="" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1" />
910
</head>
10-
<body>
11-
<header>
12-
<h1>Product Pick</h1>
13-
</header>
14-
<main>
15-
<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-->
20-
</form>
21-
</main>
22-
<footer>
23-
<!-- change to your name-->
24-
<h2>By HOMEWORK SOLUTION</h2>
25-
</footer>
26-
</body>
27-
</html>
11+
12+
<body>
13+
<header>
14+
<h1>Product Pick</h1>
15+
</header>
16+
<main>
17+
<form>
18+
<p>
19+
<label for="name">Name</label>
20+
<input type="text" id="name" name="user_name" />
21+
</p>
22+
<p>
23+
<label for="mail">Email</label>
24+
<input type="email" id="mail" name="user_email" />
25+
</p>
26+
<p>Colour</p>
27+
28+
<label>
29+
<input type="radio" name="colour" value="red" />
30+
Red
31+
</label><br>
32+
<br>
33+
34+
<label>
35+
<input type="radio" name="colour" value="blue" />
36+
Blue
37+
</label><br>
38+
<br>
39+
40+
<label>
41+
<input type="radio" name="colour" value="green" />
42+
Green
43+
</label> <br>
44+
<br>
45+
46+
<p>Size</p>
47+
48+
<input id="Extra Small" type="radio" name="size" value="XS" />
49+
<label for="Extra Small">Extra Small</label> <br>
50+
<br>
51+
<input id="Small" type="radio" name="size" value="S" />
52+
<label for="Small">Small</label> <br>
53+
<br>
54+
<input id="Medium"type="radio" name="size" value="M" />
55+
<label for="Medium">Medium</label> <br>
56+
<br>
57+
<input id="Large" type="radio" name="size" value="L" />
58+
<label for="Large">Large</label> <br>
59+
<br>
60+
<input id="Extra Large" type="radio" name="size" value="XL" />
61+
<label for="Extra Large">Extra Large</label> <br>
62+
<br>
63+
<input id="Extra Extra Large"type="radio" name="size" value="XXL" />
64+
<label for="Extra Extra Large">Extra Extra Large</label> <br>
65+
66+
67+
</form>
68+
</main>
69+
<footer>
70+
<h2>By LIBAN JAMA</h2>
71+
</footer>
72+
</body>
73+
74+
</html>

0 commit comments

Comments
 (0)