-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
234 lines (224 loc) · 15.7 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
230
231
232
233
234
<!DOCTYPE html>
<html lang="ru">
<head>
<script>
// Picture element HTML5 shiv
document.createElement( "picture" );
</script>
<script src="js/picturefill.js" async></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/style.css" rel="stylesheet">
<title>Седона</title>
</head>
<body>
<div class="desktop-wrap">
<header class="page-header page-header--nojs">
<a class="page-header__logo" href="index.html">
<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="page-header__logo-image" src="img/logo-sedona-mobile.svg" alt="Седона - Небольшой городок в Аризоне">
</picture>
</a>
<nav class="main-nav main-nav--closed main-nav--nojs"> <!--main-nav--opened-->
<button class="main-nav__toggler toggler main-nav__toggler--closed" type="button">
<span class="toggler__hamburger"></span>
<span class="visually-hidden">Открыть меню</span>
</button>
<button class="main-nav__toggler toggler main-nav__toggler--opened" type="button">
<span class="toggler__cross"></span>
<span class="visually-hidden">Закрыть меню</span>
</button>
<ul class="main-nav__list site-list">
<li class="site-list__item">
<a class="site-list__link" href="index.html">Главная</a>
</li>
<li class="site-list__item">
<a class="site-list__link" href="photo.html">Фото и видео</a>
</li>
<li class="site-list__item site-list__item--active">
<a class="site-list__link">Форма отзыва</a>
</li>
<li class="site-list__item">
<a class="site-list__link" href="https://htmlacademy.ru/intensive/adaptive">HTML ACADEMY</a>
</li>
</ul>
</nav>
<div class="page-header__greeting page-header__greeting--inner">
<svg class="page-header__greeting-svg" version="1.0" id="layer1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="459.754px" height="79.805px" viewBox="0 0 459.754 79.805" enable-background="new 0 0 459.754 79.805" xml:space="preserve">
<g>
<path fill="#FFFFFF" d="M44.466,21.738c-3.572-2.979-8.139-4.963-12.902-4.963c-3.572,0-8.338,2.084-8.338,6.253 c0,4.368,5.261,6.055,8.636,7.146l4.964,1.489C47.248,34.74,55.287,40,55.287,52.11c0,7.445-1.787,15.088-7.742,20.149 c-5.855,4.964-13.697,7.048-21.24,7.048c-9.43,0-18.661-3.177-26.305-8.537l8.338-15.683c4.865,4.269,10.621,7.742,17.271,7.742 c4.566,0,9.43-2.283,9.43-7.545c0-5.459-7.643-7.345-11.812-8.535C11.019,43.274,2.978,40.101,2.978,25.607 c0-15.188,10.818-25.112,25.807-25.112c7.543,0,16.775,2.382,23.426,6.154L44.466,21.738z"/>
<path fill="#FFFFFF" d="M91.831,18.959v12.506h21.937v16.479H91.831v12.899h23.127v16.479H72.376V2.483h42.582V18.96L91.831,18.959 L91.831,18.959z"/>
<path fill="#FFFFFF" d="M129.417,2.482h27.594c20.844,0,38.016,16.377,38.016,37.419c0,21.041-17.271,37.42-38.016,37.42h-27.594 V2.482z M148.872,60.846h4.367c11.612,0,21.539-6.352,21.539-20.942c0-13.4-8.834-20.943-21.341-20.943h-4.565V60.846z"/>
<path fill="#FFFFFF" d="M286.873,38.513c0,24.219-17.371,41.292-41.394,41.292c-24.02,0-41.391-17.071-41.391-41.292 C204.089,15.881,223.941,0,245.479,0C267.019,0,286.873,15.881,286.873,38.513z M224.339,38.612 c0,12.905,9.529,22.333,21.141,22.333c11.613,0,21.144-9.43,21.144-22.333c0-10.323-9.526-19.752-21.144-19.752 C233.867,18.86,224.339,28.29,224.339,38.612z"/>
<path fill="#FFFFFF" d="M297.238,2.482h19.454l35.636,45.757h0.196V2.482h19.453v74.839h-19.453L316.89,31.465h-0.197v45.856 h-19.454V2.482z"/>
<path fill="#FFFFFF" d="M407.345,64.319l-5.16,13.002h-20.646l28.785-74.839h21.242l28.188,74.839h-20.745l-4.862-13.002H407.345z M420.945,25.609h-0.199l-8.039,23.824h16.178L420.945,25.609z"/>
</g>
</svg>
<div class="page-header__triangle">
<svg class="page-header__triangle-svg" version="1.1" id="layer2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="320px" height="26.111px" viewBox="440.469 30.889 320 26.111" enable-background="new 440.469 30.889 320 26.111" xml:space="preserve">
<polygon fill="#FFFFFF" points="760.469,57 760.469,30.889 599.955,57"/>
<polygon fill="#FFFFFF" points="440.469,57 599.955,57 440.469,31.056"/>
</svg>
</div>
</div>
</header>
<main class="page-main page-main--inner page-main--form">
<div class="page-main__slogan slogan slogan--inner">
<h1 class="slogan__title">Оставьте свой отзыв</h1>
<p class="slogan__bidding slogan__bidding--form">
Помогите нашим отелям стать лучше! Оставьте отзыв о них, а так же о посещенных вами достопримечательностях</p>
</div>
<form class="form" action="https://echo.htmlacademy.ru/" method="post">
<div class="form__wrap">
<fieldset class="fieldset fieldset--customer-info">
<legend class="fieldset__title">Представьтесь:</legend>
<div class="fieldset__wrap">
<div class="fieldset__wrap-input-label">
<label class="fieldset__label" for="customer-name">Имя*:</label>
<div class="fieldset__wrap-input">
<input class="fieldset__input" type="text" name="name" id="customer-name" placeholder="Петр" required>
</div>
</div>
<div class="fieldset__wrap-input-label">
<label class="fieldset__label" for="customer-surname">Фамилия*:</label>
<div class="fieldset__wrap-input">
<input class="fieldset__input" type="text" name="surname" id="customer-surname" placeholder="Иванов" required>
</div>
</div>
<div class="fieldset__wrap-input-label">
<label class="fieldset__label" for="customer-middlename">Отчество:</label>
<div class="fieldset__wrap-input">
<input class="fieldset__input" type="text" name="middlename" id="customer-middlename" placeholder="Александрович">
</div>
</div>
</div>
</fieldset>
<fieldset class="fieldset fieldset--contact-info">
<legend class="fieldset__title">Контактная информация:</legend>
<div class="fieldset__wrap">
<div class="fieldset__wrap-input-label">
<label class="fieldset__label" for="customer-tel"><span class="fieldset__hide">Контактный</span> телефон*:</label>
<div class="fieldset__wrap-input fieldset__wrap-input--phone">
<input class="fieldset__input" type="tel" name="tel" id="customer-tel" placeholder="Введите телефон" pattern="[0-9]{1}-[0-9]{3}-[0-9]{3}" required>
</div>
</div>
<div class="fieldset__wrap-input-label">
<label class="fieldset__label" for="customer-email">Электронная почта*:</label>
<div class="fieldset__wrap-input fieldset__wrap-input--email">
<input class="fieldset__input" type="email" name="email" id="customer-email" placeholder="Введите e-mail" required>
</div>
</div>
</div>
</fieldset>
<fieldset class="fieldset fieldset--radio">
<legend class="fieldset__title">Ваше общее впечатление:</legend>
<div class="fieldset__wrap">
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="radio" name="impression" id="positive" value="positive" checked>
<label class="fieldset__label" for="positive">Скорее положительное</label>
</div>
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="radio" name="impression" id="negative" value="negative">
<label class="fieldset__label" for="negative">Скорее отрицательное</label>
</div>
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="radio" name="impression" id="nsure" value="nsure">
<label class="fieldset__label" for="nsure">Затрудняюсь ответить</label>
</div>
</div>
</fieldset>
<fieldset class="fieldset fieldset--checkbox">
<legend class="fieldset__title">Посещенные<br>достопримечательности:</legend>
<div class="fieldset__wrap">
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="checkbox" name="bridge" id="bridge" checked>
<label class="fieldset__label" for="bridge">Мост Дьявола</label>
</div>
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="checkbox" name="park" id="park" checked>
<label class="fieldset__label" for="park">Слайд-парк</label>
</div>
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="checkbox" name="bell-mountain" id="bell-mountain">
<label class="fieldset__label" for="bell-mountain">Гора-Колокол</label>
</div>
<div class="fieldset__wrap-input-label">
<input class="fieldset__input" type="checkbox" name="red-rocks" id="red-rocks" checked>
<label class="fieldset__label" for="red-rocks">Красные скалы</label>
</div>
</div>
</fieldset>
<fieldset class="fieldset fieldset--textarea">
<legend class="fieldset__title">Опишите свои эмоции:</legend>
<textarea class="fieldset__input" name="describe" placeholder="Опишите подробно все свои восторги"></textarea>
</fieldset>
</div>
<div class="form__wrap">
<input class="btn btn--sent-review" type="submit" value="Отправить отзыв">
<div class="form__required-fields">* —обязательные поля</div>
</div>
</form>
</main>
<footer class="page-footer">
<span class="page-footer__slogan">#VISITSEDONA</span>
<ul class="page-footer__social social-list">
<li class="social-list__item social-list__item--twitter">
<a class="social-list__link" href="#">
Мы в Твиттере
<svg class="social-list__icon" version="1.0" id="layer3" 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-list__item social-list__item--facebook">
<a class="social-list__link" href="#">
Мы в Фейсбуке
<svg class="social-list__icon" version="1.0" id="layer4" 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-list__item social-list__item--youtube">
<a class="social-list__link" href="#">
Мы в Ютубе
<svg class="social-list__icon" version="1.0" id="layer5" 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="page-footer__copyright copyright" href="https://htmlacademy.ru/intensive/adaptive">
<span class="copyright__text">Разработано</span>
<div class="copyright__logo">
<svg class="copyright__logo-icon" width="27" height="34" version="1.1" id="layer6" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" 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>
</div>
<span class="visually-hidden"> лендинг интенсива "Продвинутый HTML и CSS"</span>
</a>
</footer>
<div class="modal">
<h3 class="modal__header">Ваш вызов отправлен!</h3>
<div class="modal__text">Спасибо за ваше участие, ваш отзыв уже поступил к нам. В ближайшее время мы опубликуем его на сайте.
</div>
<div class="modal__btn-block">
<button class="btn btn--modal">Закрыть окно</button>
</div>
</div>
<div class="modal modal--failure">
<h3 class="modal__header">Что-то пошло не так!</h3>
<div class="modal__text">
Проверьте поля, выделенные красным, скорее всего вы забыли их заполнить
</div>
<div class="btn btn--modal-failure">ок</div>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>