-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (152 loc) · 7.96 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!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">
<script src="https://kit.fontawesome.com/2de4cf425a.js" crossorigin="anonymous"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<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=Pushster&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@800&display=swap"
rel="stylesheet">
<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=Newsreader:ital,wght@1,300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="media.css">
<title>WhatsNew</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">WhatsNew</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Pricing</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Features
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="#">Headlines</a></li>
<li><a class="dropdown-item" href="#">Search News</a></li>
<li><a class="dropdown-item" href="#">Affordable Prices</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section class="background firstSection">
<div class="box-main">
<div class="firstHalf">
<div class="waviy">
<span style="--i:1">W</span>
<span style="--i:2">H</span>
<span style="--i:3">A</span>
<span style="--i:4">T</span>
<span style="--i:5">S</span>
<span style="--i:6">N</span>
<span style="--i:7">E</span>
<span style="--i:8">W</span>
</div>
<hr>
<br>
<p class="text-big">Welcome to WhatsNew</p>
<p class="text-small">One stop platform for crisp and latest
news
from around the globe. Subscribe Now!
</p>
<div class="buttons">
<button class="btn"><a href="login.html">Subscribe</a></button>
</div>
</div>
<div class="secondHalf">
<img src="img/News-1.jpeg" alt="aloo">
</div>
</div>
</section>
<section class="secondSection">
<div class="left">
<p>Breaking News</p>
<hr>
<div class="accordion accordion-flush"
id="newsAccordian">
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingOne">
<button class="accordion-button collapsed"
type="button" data-bs-toggle="collapse"
data-bs-target="#flush-collapseOne"
aria-expanded="false"
aria-controls="flush-collapseOne">
Accordion Item #1
</button>
</h2>
<div id="flush-collapseOne"
class="accordion-collapse collapse"
aria-labelledby="flush-headingOne"
data-bs-parent="#accordionFlushExample">
<div class="accordion-body">Placeholder content
for this accordion, which is intended to
demonstrate the <code>.accordion-flush</code>
class. This is the first item's accordion
body.</div>
</div>
</div>
</div>
</div>
</section>
<section class="newsSearch">
<div id="newsApp">
<div id="headArea">
<label id="searchLab">Search:</label>
<input type="text" id="textInput" autocomplete="off">
<button id="searchArticles"><i class="fas fa-search" class="icon"></i></button>
<button id="refresh"><i class="fas fa-sync"></i></button>
</div>
<div id="bodyArea">
<div class="newsStory">
<h2 class="newsTitle">News Title</h2>
<p class="newsDesc">News Description</p>
<p class="source">source</p>
<img class="newsImg">
</div>
</div>
</div>
</div>
</section>
<hr>
<br>
<section class="bottom-nav">
<nav class="navbar navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="img/harshit.JPEG" alt="profile" width="40" height="40" class="d-inline-block align-text-top">
Harshit Kapoor
</a>
</div>
</nav>
</section>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="index.js"></script>
<script src="index2.js"></script>
</body>
</html>