-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (131 loc) · 7.16 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>News Website</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=EB+Garamond:wght@800&display=swap');
body {
font-family: 'Cinzel Decorative', cursive, serif;
}
#newsAccordian {
font-size: 1.4em;
font-family: 'EB Garamond', serif;
}
</style>
</head>
<body>
<!-- Navbar starts here -->
<nav class="navbar navbar-expand-lg navbar-dark bg-info border border-dark rounded-bottom">
<div class="container-fluid">
<strong><a class="navbar-brand" href="./">W.W.W. News</a></strong>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./">Home</a>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-dark" type="button">Search</button>
</form>
</div>
</div>
</nav>
<!-- Section starts from here -->
<section>
<div class="container mt-5">
<!-- Container for heading and dropdown. -->
<div class="d-flex justify-content-between">
<h1 style="display:inline-block;">Breaking News</h1>
<!-- Dropdown starts from here -->
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="selectCountry" data-bs-toggle="dropdown" aria-expanded="false">Select Country</button>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="selectCountry" id="dropDownLists">
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-1" value="in">
<label class="form-check-label" for="li-1">
India
</label>
</div>
</li>
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-2" value="us">
<label class="form-check-label" for="li-2">
United States
</label>
</div>
</li>
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-3" value="ua">
<label class="form-check-label" for="li-3">
ukraine
</label>
</div>
</li>
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-4" value="au">
<label class="form-check-label" for="li-4">
Australia
</label>
</div>
</li>
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-5" value="cn">
<label class="form-check-label" for="li-5">
China
</label>
</div>
</li>
<li class="dropdown-item">
<div class="form-check">
<input class="form-check-input" type="radio" name="countryRadio" id="li-6" value="nz">
<label class="form-check-label" for="li-6">
New Zealand
</label>
</div>
</li>
</ul>
</div>
</div>
<hr>
<!-- Accordian Starts from here -->
<div class="container mx-3">
<div class="accordion mb-5" id="newsAccordian">
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2" viewBox="0 0 16 16" role="img" aria-label="Warning:">
<path
d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>
<strong>Note!</strong> Nothing to show here please select any Country.
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
</div>
</div>
</section>
<!-- Footer starts from here -->
<footer>
<div class="fixed-bottom text-white text-center p-2 " style="background-color: rgb(0, 0, 0); ">
News Website © 2022 Copyright
<a class="text-white" style="text-decoration: none;" href="mailto:vkvanshulkesharwani54@gmail.com?subject=Need help for News Website">vkvanshulkesharwani54@gmail.com</a>
</div>
</footer>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Added local JS Script -->
<script src="./JS/script.js"></script>
</body>
</html>