-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (85 loc) · 3.94 KB
/
index.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mesto Russia</title>
<link rel="stylesheet" href="./pages/index.css">
</head>
<body class="page">
<header class="header">
<div class="header__logo"></div>
</header>
<main class="content">
<section class="profile">
<img class="profile__avatar" src="./images/profile-avatar.jpg" alt="Жак-Ив Кусто">
<div class="profile__info">
<div class="profile__container">
<h1 class="profile__name">Жак-Ив Кусто</h1>
<button class="profile__edit" type="button"></button>
</div>
<p class="profile__job">Исследователь океана</p>
</div>
<button class="profile__add" type="button"></button>
</section>
<section class="photos">
<ul class="photos__container">
</ul>
</section>
</main>
<footer class="footer">
<p class="footer__copyright">© 2020 Mesto Russia</p>
</footer>
<div class="popup popup_type_edit-profile">
<div class="popup__container">
<h3 class="popup__title">Редактировать профиль</h3>
<button class="popup__close" type="button"></button>
<form class="popup__form" novalidate>
<input class="popup__input popup__input_name" name="name-input" type="text" placeholder="Имя" required
minlength="2" maxlength="40" autocomplete="off">
<span class="popup__input-error" id="name-input-error"></span>
<input class="popup__input popup__input_job" name="job-input" type="text" placeholder="Должность"
required minlength="2" maxlength="200" autocomplete="off">
<span class="popup__input-error" id="job-input-error"></span>
<button class="popup__submit" type="submit">Сохранить</button>
</form>
</div>
</div>
<div class="popup popup_type_add-card">
<div class="popup__container">
<h3 class="popup__title">Новое место</h3>
<button class="popup__close" type="button"></button>
<form class="popup__form" novalidate>
<input class="popup__input popup__input_place" name="place-input" type="text" placeholder="Название"
required minlength="1" maxlength="30" autocomplete="off">
<span class="popup__input-error" id="place-input-error"></span>
<input class="popup__input popup__input_url " name="url-input" type="url"
placeholder="Ссылка на картинку" required autocomplete="off">
<span class="popup__input-error" id="url-input-error"></span>
<button class="popup__submit" type="submit">Создать</button>
</form>
</div>
</div>
<div class="popup popup_type_image">
<div class="popup__image-container">
<button class="popup__close" type="button"></button>
<figure class="popup__figure">
<img class="popup__image" src="#" alt="Фото с Места">
<figcaption class="popup__description"></figcaption>
</figure>
</div>
</div>
<template class="template-card">
<li class="photos__item">
<button class="photos__delete" type="button"></button>
<img class="photos__image" alt="Фото с Места" src="#">
<div class="photos__footer">
<h2 class="photos__title">Москва</h2>
<button class="photos__like" type="button"></button>
</div>
</li>
</template>
<script src="scripts/validate.js"></script>
<script src="./scripts/index.js"></script>
</body>
</html>