Skip to content

Commit bf6c936

Browse files
committed
add html layout
1 parent cb31fa6 commit bf6c936

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<form action="https://mate-academy-form-lesson.herokuapp.com/create-application" method="post">
1717
<fieldset class="groupField">
1818
<legend>Personal information:</legend>
19-
<label for="surname" class="form-field">
19+
<label class="form-field">
2020
Surname:
2121
<input
2222
type="text"
@@ -25,7 +25,7 @@
2525
>
2626
</label>
2727

28-
<label for="name" class="form-field">
28+
<label class="form-field">
2929
Name:
3030
<input
3131
type="text"
@@ -35,7 +35,7 @@
3535
>
3636
</label>
3737

38-
<label for="age" class="form-field">
38+
<label class="form-field">
3939
How old are You?
4040
<input
4141
type="number"
@@ -46,7 +46,7 @@
4646
>
4747
</label>
4848

49-
<label for="dateOfBirth" class="form-field">
49+
<label class="form-field">
5050
Full date of birth:
5151
<input
5252
type="date"
@@ -55,7 +55,7 @@
5555
>
5656
</label>
5757

58-
<label for="terms">
58+
<label>
5959
I accept the term of the agreement
6060
<input type="checkbox" name="terms">
6161
</label>
@@ -97,7 +97,7 @@
9797
No
9898
</label>
9999
</div>
100-
<label for="color" class="form-field">
100+
<label class="form-field">
101101
What is your favorite color?
102102
<input
103103
type="color"
@@ -106,7 +106,7 @@
106106
>
107107
</label>
108108

109-
<label for="timeToBed" class="form-field">
109+
<label class="form-field">
110110
What time do you go to bed?
111111
<input
112112
type="time"
@@ -115,7 +115,7 @@
115115
>
116116
</label>
117117

118-
<label for="carBrand" class="form-field">
118+
<label class="form-field">
119119
What are your favorite brands of cars?
120120
<select name="carBrand" multiple>
121121
<option value="BMW">BMW</option>
@@ -124,7 +124,7 @@
124124
</select>
125125
</label>
126126

127-
<label for="rate">
127+
<label>
128128
How do you rate our work?
129129
<input
130130
type="range"
@@ -148,7 +148,7 @@
148148
></textarea>
149149
</label>
150150

151-
<label for="reccomend">
151+
<label>
152152
Would you reccomend us?
153153
<select name="reccomend">
154154
<option value="yes">yes</option>

0 commit comments

Comments
 (0)