-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (91 loc) · 4.32 KB
/
Copy pathindex.html
File metadata and controls
102 lines (91 loc) · 4.32 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
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bookmark</title>
<link rel="icon" href="images/bookmark.png">
<!-- google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bree+Serif&family=PT+Sans+Caption:wght@400;700&family=Pacifico&family=Righteous&display=swap" rel="stylesheet">
<!-- bootstrap css file -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- font awesome -->
<link rel="stylesheet" href="css/all.min.css">
<!-- css file -->
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<main class="py-5">
<div class="container d-flex flex-column m-auto justify-content-center align-items-center">
<h1 class="py-2 position-relative">Bookmarker</h1>
<div class="bookmark-body w-100 p-3 py-4 mt-5 d-flex flex-column justify-content-center align-items-center gap-4">
<h2>
<i class="fa-solid fa-bookmark"></i>
Bookmark your favorite site
<i class="fa-solid fa-bookmark"></i>
</h2>
<div class="site-name w-100 d-flex flex-column justify-content-center">
<label for="bookmarkName" class="pb-2 fw-semibold">
<i class="fa-solid fa-book-bookmark pe-2"></i>
Site Name
</label>
<input type="text" placeholder="Bookmark Name" class="form-control" id="bookmarkName">
</div>
<div class="site-url w-100 d-flex flex-column justify-content-center">
<label for="bookmarkUrl" class="pb-2 fw-semibold">
<i class="fa-solid fa-link pe-2"></i>
Site URL
</label>
<input type="text" placeholder="Site URL" class="form-control" id="bookmarkUrl">
</div>
<button class="btn btn-submit px-5 " id="submitBtn">Submit</button>
</div>
<table class="table mt-4 text-center bg-light">
<thead>
<tr>
<th class="text-capitalize">index</th>
<th class="text-capitalize">website name</th>
<th class="text-capitalize">visit</th>
<th class="text-capitalize">Delete</th>
</tr>
</thead>
<tbody id="tableData">
</tbody>
</table>
</div>
<div class="box-info position-absolute start-0 top-0 w-100 h-100 d-flex justify-content-center align-items-center d-none" id="boxInfo">
<div class="box-conent bg-white p-4 rounded-2 shadow-lg">
<header class="box-header w-100 d-flex justify-content-between align-items-center mb-4">
<div class="circles d-flex">
<span class="rounded-circle me-2"></span>
<span class="rounded-circle me-2"></span>
<span class="rounded-circle me-2"></span>
</div>
<button class="btn border-0" id="closeBtn">
<i class="fa-solid fa-xmark close fs-3"></i>
</button>
</header>
<p class="m-0 pb-2">
Site Name or Url is not valid, Please follow the rules below :
</p>
<ol class="rules list-unstyled m-0">
<li>
<i class="fa-regular fa-circle-right p-2"></i>
Site name must contain at least 3 characters
</li>
<li>
<i class="fa-regular fa-circle-right p-2"></i>
Site URL must be a valid one
</li>
</ol>
</div>
</div>
</main>
<!-- bootstrap js file -->
<script src="js/bootstrap.bundle.min.js"></script>
<!-- bookmark page js file -->
<script src="js/index.js"></script>
</body>
</html>