-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
205 lines (182 loc) · 7.42 KB
/
form.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>HTML Academy: Мишка - Форма Заказа</title>
</head>
<body class="page">
<header class="page-header">
<div class="page-header__logo">
<img src="http://placehold.it/90x35" width="90" height="35" alt="page-header__logo"/>
</div>
<nav class="main-nav main-nav--closed">
<button class="main-nav__toggle" type="button"></button>
<div class="main-nav__wrapper">
<ul class="main-nav__list">
<li class="main-nav__list-item">
<a href="#">Каталог товаров</a>
</li>
<li class="main-nav__list-item">
<a href="#">Вязание на заказ</a>
</li>
<li class="main-nav__list-item">
<a href="#">Поиск по сайту</a>
</li>
<li class="main-nav__list-item">
<a href="#">Корзина: пока пуста</a>
</li>
</ul>
</div>
<ul class="main-nav__user-list">
<li class="main-nav__user-item">
<img src="http://placehold.it/15x15" alt="search"/>
</li>
<li class="main-nav__user-item">
<img src="http://placehold.it/15x15" alt="cart"/>
<span>Корзина: пока пуста</span>
</li>
</ul>
</nav>
<div class="page-header__title">
<h1>Вязание на заказ</h1>
</div>
</header>
<section class="order">
<h2 class="visually-hidden">форма заказа</h2>
<div class="order__intro">
<span>Мы будем рады воплотить в жизнь ваши пожелания! Заполните простую форму заказа, и мы свяжемся с вами, чтобы уточнить детали.</span>
</div>
<form class="order__form" action="https://echo.htmlacademy.ru/" method="post">
<div class="order__parameter">
<p class="order__parameter-title">
<span>Тип</span>
</p>
<div class="radio">
<label class="radio__label" for="type1">
<input class="radio__input" type="radio" id="type1" name="type" value="Аксессуар для интерьера" checked>
<span>Аксессуар для интерьера</span>
</label>
<label class="radio__label" for="type2">
<input class="radio__input" type="radio" id="type2" name="type" value="Детская игрушка">
<span>Детская игрушка</span>
</label>
</div>
</div>
<div class="order__parameter">
<p class="order__parameter-title">
<span>Цвет</span>
</p>
<div class="checkbox">
<label class="checkbox__label" for="color1">
<input class="checkbox__input" type="checkbox" id="color1" name="color" value="Белый" checked>
<span>Белый</span>
</label>
</div>
<div class="checkbox">
<label class="checkbox__label" for="color2">
<input class="checkbox__input" type="checkbox" id="color2" name="color" value="Серый" checked>
<span>Серый</span>
</label>
</div>
<div class="checkbox">
<label class="checkbox__label" for="color3">
<input class="checkbox__input" type="checkbox" id="color3" name="color" value="Тиффани">
<span>"Тиффани"</span>
</label>
</div>
<div class="checkbox">
<label class="checkbox__label" for="color4">
<input class="checkbox__input" type="checkbox" id="color4" name="color" value="Черный">
<span>Черный</span>
</label>
</div>
<div class="checkbox">
<label class="checkbox__label" for="color5">
<input class="checkbox__input" type="checkbox" id="color5" name="color" value="Розовый">
<span>Розовый</span>
</label>
</div>
<div class="checkbox">
<label class="checkbox__label" for="color6">
<input class="checkbox__input" type="checkbox" id="color6" name="color" value="Оранжевый">
<span>Оранжевый</span>
</label>
</div>
</div>
<div class="order__parameter">
<p class="order__parameter-title">
<span>ФИО</span>
</p>
<div class="text-input">
<label class="text-input__label" for="first_name">
<span>Имя:</span>
<input class="text-input__input" type="text" name="first_name" id="first_name" placeholder="Введите ваше имя*" required>
</label>
</div>
<div class="text-input">
<label class="text-input__label" for="last_name">
<span>Фамилия:</span>
<input class="text-input__input" type="text" name="last_name" id="last_name" placeholder="Укажите фамилию*" required>
</label>
</div>
<div class="text-input">
<label class="text-input__label" for="middle_name">
<span>Отчество:</span>
<input class="text-input__input" type="text" name="middle_name" id="middle_name" placeholder="Отчество, если желаете">
</label>
</div>
</div>
<div class="order__parameter">
<p class="order__parameter-title">
<span>Тел</span>
</p>
<div class="tel">
<input class="tel__input" type="tel" name="tel" id="tel" placeholder="+7 XXX XX XX*" pattern="\+{0-9}{1} {0-9}{3} {0-9}{2} {0-9}{2}"/>
</div>
</div>
<div class="order__parameter">
<p class="order__parameter-title">
<span>E-mail</span>
</p>
<div class="email">
<input class="email__input" type="email" name="email" id="email" placeholder="Ваш Email*"/>
</div>
</div>
<div class="order__parameter">
<p class="order__parameter-title">
<span>Доп</span>
</p>
<div class="textarea">
<textarea class="textarea__input" name="comment" id="comment" placeholder="Опишите все важи пожелания к заказу" rows="6">
</textarea>
</div>
</div>
<div class="order__info">
*Поля обязательны для заполнения
</div>
<button class="order__submit btn" type="submit">Отправить заказ</button>
</form>
</section>
<footer class="page-footer">
<div class="page-footer__wrapper">
<div class="page-footer__logo">
<img src="http://placehold.it/60x15" alt="page-footer__logo"/>
</div>
<div class="page-footer__social">
<div class="social-links">
<a class="social-link social-link--vk" href="#"></a>
<a class="social-link social-link--fb" href="#"></a>
<a class="social-link social-link--in" href="#"></a>
</div>
<div class="page-footer__copyright">
<span class="page-footer__copyright-text">Разработано</span>
<a class="page-footer__copyright-link" href="#">
<img src="http://placehold.it/15x20" alt="page-footer__copyright-link"/>
</a>
</div>
</div>
</div>
</footer>
</body>
</html>