-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit.html
50 lines (40 loc) · 1.59 KB
/
edit.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Edit page</title>
<link rel="shortcut icon" type="image/jpg" href="/notes-app/assets/ic_delete.svg" />
<link rel="stylesheet" href="./styles/css/styles.css">
</head>
<body>
<div class="app">
<header class="app-header app-header--edit">
<h1 class="app-header__title">Notes App</h1>
<span class="app-header__text">To save changes just hit "Save & Back"</span>
<button class="app-header__button">
<a class="app-header__link" href="/notes-app/index.html">
<img src="./assets/arrow-left.svg" alt="arrow back" class="app-header__icon">
Save & Back
</a>
</button>
</header>
<main class="app-content">
<div class="app-content__wrapper app-content__wrapper--edit">
<h2 class="app-content__title">Note</h2>
<div class="app-content__note">
<label for="note-title" class="app-content__note-label">Name</label>
<input class="app-content__note-name" id="note-title" placeholder="Note title">
<label for="note-body" class="app-content__note-label">Description</label>
<textarea class="app-content__note-body" id="note-body" placeholder="Enter note text"></textarea>
<span class="app-content__status">
<span class="app-content__status-text" id="last-edited"></span>
<button class="app-content__button-remove" id="remove-note"></button>
</span>
</div>
</div>
</main>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment-with-locales.min.js"></script>
<script src="./notes-functions.js"></script>
<script src="./notes-edit.js"></script>
</body>
</html>