-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
229 lines (226 loc) · 10.8 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./css/style-form.css" rel="stylesheet">
<link href="./css/normalize.css" rel="stylesheet">
<title>Оставьте свой отзыв</title>
</head>
<body class="page">
<header class="page__header">
<div class="container">
<picture>
<source media="(min-width: 1200px)" srcset="./img/logo-sedona-desktop.svg">
<source media="(min-width: 768px)" srcset="./img/logo-sedona-tablet.svg">
<img class="header__logo" src="./img/logo-sedona-mobile.svg" alt="Логотип Седоны">
</picture>
<nav class="main-nav">
<button type="button" class="main-nav__toggle--closed main-nav__toggle"><span class="visually-hidden">Открыть
меню</span></button>
<ul class="site-navigation site-navigation--closed">
<li class="site-navigation__item">
<a class="site-navigation__button" href="#">Главная</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button" href="photo.html">Фото и видео</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button site-navigation__button--current" href="form.html">Форма отзыва</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button" href="https://github.com/paketaaa/test">paketAAA</a>
</li>
</ul>
</nav>
</div>
</header>
<main class="page__main">
<h1 class="visually-hidden">Седона</h1>
<section class="intro">
<div class="intro__logo">
<img src="./img/text-sedona.svg" alt="">
</div>
<div class="intro__description">
<h2 class="intro__title">
Оставьте свой отзыв
</h2>
<p class="intro__text">
Помогите нашим отелям стать лучше! Оставьте отзыв о них,<br> а также о посещенных вами достопримечательностями
</p>
</div>
</section>
<section>
<h2 class="visually-hidden">
Форма отправки отзыва
</h2>
<form class="feedback" method="POST" action="https://echo.htmlacademy.ru">
<fieldset class="form feedback__impression">
<legend class="feedback__title">
Ваше общее впечатление:
</legend>
<div class="input-wrapper">
<input class="custom-radio" type="radio" id="good" name="impression" value="good">
<label for="good">
Скорее положительное
</label>
</div>
<div class="input-wrapper">
<input class="custom-radio" type="radio" id="bad" name="impression" value="bad">
<label for="bad">
Скорее отрицательное
</label>
</div>
<div class="input-wrapper">
<input class="custom-radio" type="radio" id="idk" name="impression" value="idk">
<label for="idk">
Затрудняюсь ответить
</label>
</div>
</fieldset>
<fieldset class="form feedback__introduce">
<legend class="feedback__title">
Представьтесь:
</legend>
<div class="input-wrapper">
<label for="name">
Имя<sup>*</sup>:
</label>
<input type="text" id="name" name="name" placeholder="Мария">
</div>
<div class="input-wrapper">
<label for="last-name" id="name">
Фамилия<sup>*</sup>:
</label>
<input type="text" id="last-name" name="name" placeholder="Иванов">
</div>
<div class="input-wrapper">
<label for="middle-name" id="name">
Отчество<sup>*</sup>:
</label>
<input type="text" id="middle-name" name="name" placeholder="Александрович">
</div>
</fieldset>
<fieldset class="form feedback__contacts">
<legeng class="feedback__title">
Контактная информация:
</legeng>
<div class="input-wrapper input-wrapper--tel">
<label for="tel">
<span>Контактный</span> телефон<sup>*</sup>:
</label>
<input type="tel" id="tel" name="tel" placeholder="Введите телефон">
</div>
<div class="input-wrapper input-wrapper--email">
<label for="email">
Электронная почта<sup>*</sup>:
</label>
<input type="email" id="email" name="email" placeholder="Введите e-mail">
</div>
</fieldset>
<fieldset class="form feedback__visited">
<legend class="feedback__title">
Посещенные<br> достопримечательности:
</legend>
<div class="input-wrapper">
<input class="custom-checkbox" type="checkbox" id="devils-bridge" name="devils-bridge">
<label for="devils-bridge">
Мост Дьявола
</label>
</div>
<div class="input-wrapper">
<input class="custom-checkbox" type="checkbox" id="bell-hill" name="bell-hill">
<label for="bell-hill">
Гора-Колокол
</label>
</div>
<div class="input-wrapper">
<input class="custom-checkbox" type="checkbox" id="slide-park" name="slide-park">
<label for="slide-park">
Слайд-парк
</label>
</div>
<div class="input-wrapper">
<input class="custom-checkbox" type="checkbox" id="red-rocks" name="red-rocks">
<label for="red-rocks">
Красные скалы
</label>
</div>
</fieldset>
<fieldset class="form feedback__emotions">
<legend class="feedback__title">
Опишите свои эмоции:
</legend>
<textarea class="custom-textarea" placeholder="Опишите подробно все свои восторги" rows="6" name="emotions"
id="emotions"></textarea>
</fieldset>
<button class="button button--form" type="submit"> Отправить отзыв</button>
<div class="legend">
<p>
* - обязательные поля
</p>
</div>
</form>
</section>
</main>
<footer class="footer">
<div class="footer__wrapper">
<span class="footer__hashtag">
#visitsedona
</span>
<ul class="footer__social">
<li class="social__item">
<a class="social__link" href="https://twitter.com/home">
<span class="visually-hidden">Твиттер</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="17.5px" height="14.663px" viewBox="0 0 17.5 14.663" enable-background="new 0 0 17.5 14.663"
xml:space="preserve">
<g id="W6EeEF_1_">
<g>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M11.283,0.153c1.736-0.484,3.074,0.264,3.685,1.15 c0.694-0.225,1.372-0.47,2.072-0.69c-0.004,0.841-0.538,1.478-0.883,1.728C16.861,2.506,17.5,1.86,17.5,1.86 c-0.175,0.977-1.035,1.746-1.611,1.977C15.65,10.429,12.617,14.793,5.507,14.66c-0.538,0,0.077,0-0.46,0 c-0.422,0-4.29-0.45-5.047-1.843c2.341,0.192,4.011-0.412,4.835-1.15c-0.989-0.293-2.761-0.464-3.07-2.881 c0.362,0.105,0.583,0.223,1.228,0.117C1.757,8.067,0.385,7.366,0.461,5.218c0.294,0.319,1.1,0.523,1.381,0.461 c-0.725-0.235-2.03-3.281-0.921-4.836C2.794,2.655,4.769,4.364,8.29,4.528C8.506,2.288,9.461,0.788,11.283,0.153z" />
</g>
</g>
</svg>
</a>
</li>
<li class="social__item">
<a class="social__link" href="https://www.facebook.com/">
<span class="visually-hidden">Фейсбук</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="8.672px" height="18.944px" viewBox="0 0 8.672 18.944" enable-background="new 0 0 8.672 18.944"
xml:space="preserve">
<path
d="M6.275,3.356c0.799,0,1.599,0,2.398,0c0-1.119,0-2.237,0-3.356c-0.959,0-1.92,0-2.878,0C2.656,0.181,1.54,2.387,1.948,6.114 H0v3.518h1.959c0,3.104,0,6.208,0,9.312c1.279,0,2.559,0,3.837,0c0-3.104,0-6.208,0-9.312h2.857V6.114H5.787 C5.765,5.069,5.75,3.709,6.275,3.356z" />
</svg>
</a>
</li>
<li class="social__item">
<a class="social__link" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley">
<span class="visually-hidden">Ютуб</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="19.979px" height="14.015px" viewBox="0 0 19.979 14.015" enable-background="new 0 0 19.979 14.015"
xml:space="preserve">
<path
d="M17.145,0H2.835C1.275,0,0,1.275,0,2.835v8.345c0,1.56,1.275,2.835,2.835,2.835h14.31c1.56,0,2.835-1.275,2.835-2.835V2.835 C19.979,1.275,18.704,0,17.145,0z M7.036,10.392V3.623l6.769,3.384L7.036,10.392z" />
</svg>
</a>
</li>
</ul>
<a class="footer__copyright" href="https://htmlacademy.ru/">
<span class="copyright__brand">
Разработано
</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="26.943px" height="34.09px" viewBox="0 0 26.943 34.09" enable-background="new 0 0 26.943 34.09"
xml:space="preserve">
<path
d="M13.62,0.017L13.472,0L0,1.412v24.661l13.473,8.017l13.43-7.99l0.042-0.025V1.412L13.62,0.017z M25.019,12.127L13.495,5.334 L13.494,5.23l-0.087,0.05l-0.088-0.056v0.109L1.925,12.118V3.147l11.548-1.212l11.547,1.212V12.127z M13.405,6.787L24.923,13.5 l-4.479,2.64l-7.093-4.221l-0.014,1.415l5.904,3.513l-0.86,0.507l-5.03-2.992l-0.014,1.415l3.827,2.275l-0.782,0.523l-3.031-1.787 l-0.014,1.413l1.853,1.091l-1.8,1.081L2.034,13.622L13.405,6.787z M1.925,15.127l11.411,6.791l0.016,1.044L5.41,18.234L5.395,19.65 l7.979,4.795l0.018,1.076l-7.973-4.74l-0.013,1.414l8.021,4.822l0.046,0.025l8.143-4.872l-0.011-5.177l3.415-2.036v10.021 L13.472,31.85L1.925,24.979V15.127z" />
</svg>
</a>
</div>
</footer>
<script src="./js/nav.js" async></script>
</body>
</html>