After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 493 B |
After Width: | Height: | Size: 910 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
@ -0,0 +1,27 @@ |
|||||||
|
'use strict'; |
||||||
|
|
||||||
|
// lang start
|
||||||
|
|
||||||
|
let lang = document.querySelector('.lang'); |
||||||
|
|
||||||
|
|
||||||
|
lang.onclick = function (e) { |
||||||
|
let target = e.target |
||||||
|
|
||||||
|
console.log(e); |
||||||
|
|
||||||
|
|
||||||
|
if (target.classList.contains('lang__open')) { |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
// let langOpenButton
|
||||||
|
// let langContent
|
||||||
|
// let langList
|
||||||
|
|
||||||
|
// let height = langList.offsetHeight;
|
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
// lang end
|
@ -0,0 +1,12 @@ |
|||||||
|
<!-- Пример формы для отправки в Телеграмм (обработчик send-telegram.php) --> |
||||||
|
<form class="form" method="post" action="/send-telegram.php"> |
||||||
|
<div class="form__item"> |
||||||
|
<input class="form__input" type="text" name="name" required> |
||||||
|
<label class="form__label">Ваше имя</label> |
||||||
|
</div> |
||||||
|
<div class="form__item"> |
||||||
|
<input class="form__input" type="text" name="phone" required> |
||||||
|
<label class="form__label">Номер телефона</label> |
||||||
|
</div> |
||||||
|
<input class="form__input btn" type="submit" value="Отправить"> |
||||||
|
</form> |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 945 KiB |