-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (48 loc) · 1.99 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
<html>
<meta content="width=device-width, initial-scale=1" name="viewport" />
<head>
<link rel = 'stylesheet' href='style.css'>
<title>My Library</title>
<div id="pageTitleDiv">
<video autoplay muted loop id ='myVideo'>
<source src = 'resources/video.mp4' type='video/mp4'>
</video>
<h1 id = 'title'>My Library</h1>
<h2 id = 'following'>Store information about books that you like...</h2>
<button id="addBtn" class = "open-button" onclick='openForm()'>
+
</button>
</div>
</head>
<body>
<div id='booksPart'>
<div id='blankFiller'><h1 id='fillerText'>Add your first book here</h1></div>
<div id ='sampleBookBox'>
<button id= 'removeBtn' class= 'remBtn'>
<img class='wastebucket' src="resources/wastebucket.png"/>
</button>
<p id='title'></p>
<p id='author'></p>
<p id='page'></p>
<div class='buttonContainer'>
<button class = 'decreasePage' id='bookBtn' >-</button>
<button class ='increasePage' id='bookBtn'>+</button>
<button class ="readBtn" id='bookBtn'>Read</button>
</div>
</div>
</div>
<div class='book-input-popup' id='myForm'>
<form class='form-container'>
<h1></h1>
<label for='title'><b>Add a book</b></label>
<input type="text" placeholder="Book title" id="Name" required>
<input type="text" placeholder="Author's name" id="Author" required>
<input type="number" placeholder="Page you're on" id="Page" required>
<button type='submit' class='btn' onclick='closeForm()'>Submit</button>
<button type='button' class='btn cancel' onclick="closeForm()">Close</button>
</form>
</div>
</body>
<script src="script.js">
</script>
</html>