generated from tripleten-com/se_project_aroundtheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (114 loc) · 4.05 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<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" />
<title>Around the U.S.</title>
<link href="./pages/index.css" rel="stylesheet" />
</head>
<body class="page">
<div class="page__content">
<header class="header">
<img
src="./images/Vector.svg"
class="logo header__logo"
alt="Around the U.S. logo"
/>
</header>
<main class="content">
<section class="profile page__section">
<img
src="./images/jacques-cousteau.jpg"
alt="avatar"
class="profile__picture"
/>
<div class="profile__info">
<h1 class="profile__title" id="profile-title">Jacques Cousteau</h1>
<button class="profile__edit-button" id="profileEditBtn" type="button"></button>
<p class="profile__description" id="profile-description">Explorer</p>
</div>
<button class="profile__add-button" type="button">
<img
class="profile__add-button-icon"
src="./images/plus.svg"
alt="add button"
/>
</button>
</section>
<section class="cards">
<ul class="cards__list" id="cardsContainer"></ul>
</section>
</main>
<footer class="footer">
<p class="footer__copyright">©2024 Adela Tatum</p>
</footer>
</div>
<!-- Add/ update profile modal-->
<div class="modal" id="profileEditModal">
<div class="modal__container">
<button class="modal__close" id="profileCloseBtn" type="button"></button>
<h2 class="modal__heading">Edit profile</h2>
<form class="modal__form" id="edit-profile-form" name="modal form">
<input
name="title"
class="modal__form-input"
type="text"
id="profile-title-input"
placeholder="Name" />
<input
name="description"
class="modal__form-input"
type="text"
id="profile-description-input"
placeholder="About me" />
<button class="modal__save" type="submit">Save</button>
</form>
</div>
</div>
<!-- Add card modal-->
<div class="modal" id="addCardModal">
<div class="modal__container">
<button class="modal__close" id="profileCloseBtn" type="button"></button>
<h2 class="modal__heading">New Place</h2>
<form class="modal__form" id="add-card-form" name="add card form">
<input
name="title"
class="modal__form-input modal__input_type_title"
type="text"
id="profile-title-input"
placeholder="Title" />
<input
name="image url"
class="modal__form-input modal__input_type_url"
type="text"
id="profile-description-input"
placeholder="Image URL" />
<button class="modal__save" type="submit">Create</button>
</form>
</div>
</div>
<div class="modal" id="modal-preview">
<div class="modal__container-image">
<button
class="modal__close"
id="profileCloseBtn"
type="button"
></button>
<img class="modal__image" src="" alt="" />
<p class="modal__image-label"></p>
</div>
</div>
<template id="card-template">
<li class="card">
<img class="card__image" src="" alt="" />
<div class="card__description">
<h2 class="card__title"></h2>
<button type="button" class="card__like-button"></button>
<button type="button" class="card__trash-button"></button>
</div>
</li>
</template>
<script src="./scripts/index.js" defer></script>
</body>
</html>