-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (57 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bookmarker</title>
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="logo.jpg" />
<style>
/* ##### Loader Start ##### */
.loader {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: #d0d0d0;
display: grid;
place-items: center;
}
#loader {
width: 100px;
height: 100px;
border-radius: 50%;
border-top: 5px solid dodgerblue;
border-bottom: 5px solid dodgerblue;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
animation: anim 2s infinite;
}
@keyframes anim {
100% {
transform: rotate(360deg);
}
}
/* ##### Loader End ##### */
</style>
</head>
<body onload="loadItems()">
<div class="loader">
<span id="loader"></span>
</div>
<div class="container">
<form id="form" onsubmit="isUpdate ? updateItem() : addItem()">
<h3>BOOKMARKER</h3>
<input type="text" placeholder="Enter Site Name" value="" id="siteName" />
<input type="text" placeholder="Enter Site URL" value="" id="siteUrl" />
<input type="submit" value="ADD" id="submitBtn"/>
</form>
<div id="bookmarks"></div>
</div>
<script src="main.js"></script>
</body>
</html>