-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (76 loc) · 3.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Library — Search, Add and Buy Books</title>
<meta name="title" content="Library — Search, Add and Buy Books">
<meta name="description" content="A library app created for the Odin Project, using mostly vanilla javascript, css, html and googlebooks api.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://wingedthing.github.io/library/#">
<meta property="og:title" content="Library — Search, Add and Buy Books">
<meta property="og:description" content="A library app created for the Odin Project, using mostly vanilla javascript, css, html and googlebooks api.">
<meta property="og:image" content="https://raw.githubusercontent.com/wingedthing/library/main/images/screenshotLibrary.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://wingedthing.github.io/library/#">
<meta property="twitter:title" content="Library — Search, Add and Buy Books">
<meta property="twitter:description" content="A library app created for the Odin Project, using mostly vanilla javascript, css, html and googlebooks api.">
<meta property="twitter:image:src" content="https://raw.githubusercontent.com/wingedthing/library/main/images/screenshotLibrary.jpg">
<link rel="stylesheet" href="./css/normalize.css" type="text/css">
<link rel="stylesheet" href="./css/style.css" type="text/css">
<script src="https://kit.fontawesome.com/36e1595aa0.js" crossorigin="anonymous"></script>
<script defer src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="./app.js" type="text/javascript"></script>
<title>Library</title>
</head>
<body>
<div class="page-container">
<div class="wrapper">
<header>
<a id="local-storage" href="#">Clear Local Storage</a>
<div id="clear-popup" class="clear-popup">
<p><b>Warning</b> this will remove all books from your library and memory!</p>
<p>Proceed?</p>
<div>
<button id="clear-yes" type="button">Yes</button>
<button id="clear-cancel" type="button">Cancel</button>
</div>
</div>
<a id="sign-in" href="#">Sign In</a>
</header>
<main>
<div>
<button id="add-book" class="add-book"><b>+</b> Add Book</button>
</div>
<div class="form-popup">
<form id="myForm" class="form-container">
<div>
<input id="title" type="text" placeholder="Title" name="title" maxlength="40" required>
</div>
<div>
<input id="author" type="text" placeholder="Author Name" name="author" maxlength="30" required>
</div>
<button type="submit" class="btn-submit">Submit</button>
<button type="reset" class="btn-cancel">Cancel</button>
</form>
</div>
<div id="book-container" class="book-container">
</div>
</main>
</div>
<footer>
<div>
<p>Javascript Web Dev 101</p>
<a href="https://www.theodinproject.com/lessons/library" target="_blank">The Odin Project</a>
</div>
<div>
<a class="github-link" href="https://github.com/wingedthing/library" target="_blank"><img
src="https://github.githubassets.com/favicons/favicon.png" alt="github logo"></a>
</div>
</footer>
</div>
</body>
</html>