-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.html
76 lines (64 loc) · 3.26 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
74
75
76
<!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>Daily News</title>
<link rel="stylesheet" href="style/style.css">
<!-- Boostrap CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!-- fontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<header>
<!-- navbar -->
<nav class="navbar navbar-expand-lg ">
<div class="container-fluid container">
<a class="navbar-brand" href="#">Daily <span class="pepole">News</span></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ms-auto">
<a class="nav-link active text-primary text-decoration-underline" aria-current="page" href="#">News</a>
<a class="nav-link active " aria-current="page" href="Blog.html">Blog</a>
<a class="navbar-brand" href="#">
<img class="rounded-5" src="user_img/circle-profile-pic.jpg" alt="" width="40" height="40">
</a>
</div>
</div>
</div>
</nav>
</header>
<hr class="fw-bold">
<main>
<!-- all categories Section -->
<section class="mt-3 container header-a mx-auto">
<div id="categories" class="d-flex flex-wrap w-100">
<button onclick="home()" class="h-button">Home</button>
</div>
<!-- all categories Section End -->
</section>
<!-- news section start -->
<section class="container">
<div>
<h3 class=" bg-white shadow my-2 p-2" id="newsLength"></h3>
</div>
<div id="breackingNews">
<!-- spinner -->
<div class="text-center my-5 mt-5"><button id="spinner" class="btn btn-primary d-none" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading...
</button></div>
</div>
</section>
</main>
<footer class="text-center">
<small class="">© 2022 All right reserved! Made by" webtrue</small>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<script src="js/app.js"></script>
</body>
</html>