-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
91 lines (79 loc) · 4.31 KB
/
index.html
File metadata and controls
91 lines (79 loc) · 4.31 KB
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="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<main class="main">
<header class="header">
<h1 class=main-title> My Library <i class="fa fa-book" aria-hidden="true"></i></h1>
<div class="button-container">
<button class="button--new">Add new book</button>
</div>
</header>
<div class="library-container">
<!-- Consider a grid of book "cards" here -->
<div class="library__headings">
<h2 class="library__heading--title">Title</h2>
<h2 class="library__heading--author">Author</h2>
<h2 class="library__heading--pages">Pages</h2>
<h2 class="library__heading--read">Already Read?</h2>
</div>
<!-- <div class="book" data-id="0">
<div class="book__property book__title">The Lord of the Rings</div>
<div class="book__property book__author">J.R.R. Tolkien</div>
<div class="book__property book__pages">423</div>
<div class="book__property book__read book__read--yes">
<button class="book__read-status book__read-status--yes book__read-status--selected">Yes</button><button class="book__read-status book__read-status--no">No</button>
</div>
<span class="book__delete">×</span>
</div> -->
</div>
<div class="modal">
<div class="form-container">
<div class="form__header">
<h2 class="form__title">New book</h2>
<span class="form__close">×</span>
</div>
<form class="form">
<ul>
<li class="form__item">
<label class="form__label" for="title">Title</label>
<input required placeholder="Enter the book title" class="form__input form__input--title" type="text" id="title" name="title">
</li>
<li class="form__item">
<label class="form__label" for="author">Author</label>
<input required placeholder="Enter the author" class="form__input form__input--author" type="text" id="author" name="author">
</li>
<li class="form__item">
<label class="form__label" for="pages">Number of pages</label>
<input required placeholder="Enter the number of pages" class="form__input form__input--pages" type="number" id="pages" name="pages">
</li>
<fieldset class="form__radio-fieldset">
<legend class="form__label form__label--radio">Have you read this book?</legend>
<ul class=form__radio--list>
<li class="form__radio--list-item">
<input type="radio" class="form__radio form__radio--read" id="read" name="read" value="read" required>
<label class="form__label" for="read">Yes</label>
</li>
<li class="form__radio--list-item">
<input type="radio" id="not-read" class="form__radio form__radio--notRead" name="read" value="notRead">
<label class="form__label" for="not-read">No</label>
</li>
</ul>
</fieldset>
<button class="form__submit" type="submit">Submit</button>
</ul>
</form>
</div>
</div>
</main>
<script type="text/javascript" src="index.js"></script>
</body>
</html>