Skip to content

Commit 07e8ff2

Browse files
committed
Added index.html
1 parent a7b8a25 commit 07e8ff2

1 file changed

Lines changed: 65 additions & 8 deletions

File tree

Form-Controls/index.html

Lines changed: 65 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,79 @@
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="style.css" >
910
</head>
1011
<body>
1112
<header>
12-
<h1>Product Pick</h1>
13+
<h1>Customer Confirmation Form </h1>
1314
</header>
1415
<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-->
16+
<form action="results.html" method="GET">
17+
<div>
18+
<label for="name">Customer Name:</label>
19+
<input type="text" id="name" name="name" required placeholder="two non-space characters."/>
20+
</div>
21+
<div
22+
<label for="email"> Email:</label>
23+
<input type="email" id="email" name="email" required placeholder="@gmail.com" />
24+
</div>
25+
<div>
26+
<label for="Size"> Size: </label>
27+
<select id="size" name="size">
28+
<option value="xsmall">xSmall</option>
29+
<option value="small">Small</option>
30+
<option value="medium">Medium</option>
31+
<option value="large">Large</option>
32+
<option value="xlarge">xLarge</option>
33+
<option value="xxlarge">xxLarge</option>
34+
35+
</select>
36+
</div>
37+
38+
<div>
39+
<label for="phone"> Phone Number:</label>
40+
<input type="tel" id="phone" name="phone" required />
41+
</div>
42+
43+
<div>
44+
<label for="address"> Address: </label>
45+
<input type="text" id="address" name="address" required />
46+
</div>
47+
48+
<div>
49+
<label for="color"> Color:</label>
50+
<select id="color" name="color">
51+
<option value="red">yellow</option>
52+
<option value="blue">black</option>
53+
<option value="green">Green</option>
54+
</select>
55+
</div>
56+
<div>
57+
Gender
58+
</div>
59+
60+
<div>
61+
<label for="gender">Male</label>
62+
<input type="radio" for="gender" id="male"></input>
63+
</div>
64+
<div>
65+
<label for="gender">Female</label>
66+
<input type="radio" for="gender" id="female"></input>
67+
</div>
68+
<div>
69+
<label for="comments">Additional Comments:</label>
70+
<textarea id="comments" name="comments"></textarea>
71+
</div>
72+
73+
<div class="form-button">
74+
<button type="submit">Submit</button>
75+
<button type="reset">Reset</button>
76+
</div>
2077
</form>
2178
</main>
2279
<footer>
23-
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
80+
<!-- ENICE MUTANDA-->
81+
<p>ENICE MUTANDA</p>
2582
</footer>
2683
</body>
2784
</html>

0 commit comments

Comments
 (0)