-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (186 loc) · 5.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>First Form</title>
<link href="normalize.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<main>
<h1 class="form__title">First Form</h1>
<form method="POST" action="https://dev.cotenfrontend.pl/">
<p>
<label
>First Name:
<input
type="text"
id="firstName"
name="firstName"
placeholder="Steve"
/>
</label>
</p>
<p>
<label
>Last Name:
<input
type="text"
id="lastName"
name="lastName"
placeholder="Jobs"
/>
</label>
</p>
<p>
<label
>Telephone number:
<input
type="tel"
id="telephoneNumber"
name="telephoneNumber"
placeholder="0123456789"
/>
</label>
</p>
<p>
<label
>Favourite number:
<input
type="number"
id="favouriteNumber"
name="favouriteNumber"
placeholder="please enter a number"
/>
</label>
</p>
<p>
<label
>Email address:
<input
type="email"
id="emailAddress"
name="emailAddress"
placeholder="[email protected]"
/>
</label>
</p>
<p>
<label
>Password:
<input
type="password"
id="password"
name="password"
/>
</label>
</p>
<p>
<label
>File:
<input
type="file"
id="file"
name="file"
/>
</label>
</p>
<p>
<label
>Enter age:
<input
type="range"
id="ageRange"
name="ageRange"
min="18"
max="100"
step="1"
/>
</label>
</p>
<p>
<label for="band">Select an option: </label>
<select id="band">
<option value="flavour-1">Chocolate</option>
<option value="flavour-2">Vanilla</option>
<option value="flavour-3">Strwaberry</option>
</select>
</p>
<p>
<label for="textArea">Your story: </label>
<textarea id="textArea"></textarea>
</p>
<!--address fieldset -->
<fieldset class="form__address">
<legend class="form__legend">Address</legend>
<p>
<label
>House Number:
<input
type="text"
id="houseNumber"
name="houseNumber"
placeholder="10"
/>
</label>
</p>
<p>
<label
>Street Name:
<input
type="text"
id="streetName"
name="streetName"
placeholder="Downing Street"
/>
</label>
</p>
<p>
<label
>Post Code:
<input
type="text"
id="postCode"
name="postCode"
placeholder="SW1A"
/>
</label>
</p>
<p>
<label
>Country:
<input
type="text"
id="country"
name="country"
placeholder="United Kingdom"
/>
</label>
</p>
</fieldset>
<!--favourite ice cream flavour fieldset -->
<fieldset class="form__iceCreamFlavour">
<legend class="form__legend">Favourite ice cream flavour</legend>
<p>
<label><input name="iceCreamFlavours" type="radio" value="chocolate">Chocolate</label>
</p>
<p>
<label><input name="iceCreamFlavours" type="radio" value="vanilla">Vanilla</label>
</p>
<p>
<label><input name="iceCreamFlavours" type="radio" value="strawberry">Strawberry</label>
</p>
</fieldset>
<!--favourite ice cream flavour fieldset -->
<fieldset class="form__consent">
<p>
<label><input type="checkbox" name="consent">I agree</label>
</p>
</fieldset>
<p>
<input name="submit" type="submit" value="Submit">
</p>
</form>
</main>
</body>
</html>