-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (55 loc) · 2.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bookshelf</title>
<link rel="stylesheet" href="dest/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<main>
<header class="header">
<div class="container">
<h1 class="header__title">My bookshelf</h1>
<div>
<button type="button" class="button header__button button--add">Add book +</button>
</div>
</div>
</header>
<div class="list">
<div class="container list__container">
</div>
</div>
<section class="edit-form">
<div class="container edit-form__container">
<h2 class="edit-form__title">Editing</h2>
<form action="#">
<div>
<div><label class="edit-form__label" for="name">Name:</label></div>
<input class="edit-form__input edit-form__name" type="text" name="name"id="name" placeholder="Book's name" required>
</div>
<div>
<div><label class="edit-form__label" for="author">Author:</label></div>
<input class="edit-form__input edit-form__author" id="author" type="text" name="name" placeholder="Author" required>
</div>
<div>
<div><label class="edit-form__label" for="year">Year:</label></div>
<input class="edit-form__input edit-form__year" id="year" type="number" name="year" placeholder="Year" min="999" max="2017" required>
</div>
<div>
<div><label class="edit-form__label" for="link">Link:</label></div>
<input class="edit-form__input edit-form__link" id="link" type="text" name="link" placeholder="Link">
</div>
<div class="edit-form__controls">
<button class="button edit-form__button button--save" type="submit">Save</button>
<button type="button" class="button edit-form__button button--cancel edit-form__button--red">Cancel</button>
</div>
</form>
</div>
</section>
</main>
<script src="dest/main.js"></script>
</body>
</html>