-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (56 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Reading List</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/styles.css" />
<script src="js/script.js" defer></script>
</head>
<body>
<div class="container">
<script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
<dotlottie-player
src="https://lottie.host/4a86d998-a71f-42a7-8041-1efc514c5828/Ws63PdyCZW.json"
onerror="this.onerror=null;this.src='https://s3.amazonaws.com/media.skillcrush.com/skillcrush/wp-content/uploads/2021/03/Open-Doodles-Reading.png';"
background="transparent"
speed="0.5"
style="width: 300px; height: 300px"
loop
autoplay
class="top-img"
></dotlottie-player>
<h1>Reading List</h1>
<form action="" class="form">
<div class="form-element">
<label for="title">Book Title:</label>
<input type="text" name="title" id="title" />
</div>
<div class="form-element">
<label for="author">Author:</label>
<input type="text" name="author" id="author" />
</div>
<div class="form-element">
<label for="pages">Pages:</label>
<input type="text" name="pages" id="pages" />
</div>
<div class="form-element button-element">
<button class="add-book" type="submit">Add book!</button>
</div>
</form>
<p class="error"></p>
<table>
<tbody class="table-body">
<tr class="first-row">
<td>Title</td>
<td>Author</td>
<td>Pages</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>