-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (59 loc) · 3.22 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
<!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">
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<!-- 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=Merriweather&family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
<!-- Sweetalert2 -->
<link rel="stylesheet" href="./node_modules/sweetalert2/dist/sweetalert2.min.css">
<!-- Style -->
<link rel="stylesheet" href="./css/styles.css">
<title>Posts</title>
</head>
<body>
<div id="top"></div>
<section>
<div id="container" class="container bg-light my-sm-5 text-center p-sm-5 p-4 rounded-3 shadow-lg">
<!-- Heading -->
<h1 id="head" class="mb-4 mb-sm-5 text-uppercase">Posts</h1>
<!-- Form -->
<div class="card p-2 shadow-sm text-start">
<div class="card-body text-center">
<h2 class="card-title mb-3 title text-uppercase">Add Post</h2>
<form class="text-start">
<div class="mb-3">
<label for="title" class="form-label h4 title">Title: <span class="text-danger h6">*</span></label>
<input type="text" class="form-control" id="title">
</div>
<div class="mb-3">
<label for="body" class="form-label h4 title">Body: <span class="text-danger h6">*</span></label>
<textarea type="password" class="form-control" id="body"></textarea>
</div>
<h6 class="text-secondary">Filling all the fields with <span class="text-danger">*</span> is necessary.</h6>
<div class="text-center">
<button id="submit" type="submit" class="btn btn-success btn-lg w-75 mt-2 text-uppercase">Submit</button>
</div>
</form>
</div>
</div>
<hr class="m-5">
<!-- Posts -->
<div class="accordion accordion-flush" id="posts"></div>
<!-- To Top Button -->
<div id="goToTop" class="d-none">
<i class="btn btn-primary bi-arrow-up rounded-circle"></i>
</div>
</div>
</section>
<script src="./node_modules/sweetalert2/dist/sweetalert2.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="./index.js"></script>
</body>
</html>