forked from erpushpendrasingh/Deccan-Herald-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newsletters.html
265 lines (254 loc) · 10.3 KB
/
newsletters.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!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" />
<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=Source+Sans+Pro:wght@300;400;600;700;900&display=swap"
rel="stylesheet">
<link rel='stylesheet' href='https://cdn-uicons.flaticon.com/uicons-bold-rounded/css/uicons-bold-rounded.css'>
<link rel='stylesheet' href='https://cdn-uicons.flaticon.com/uicons-regular-straight/css/uicons-regular-straight.css'>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="national.css" />
<link rel="stylesheet" href="./styles/nav.css">
<link rel="stylesheet" href="./styles/footer.css">
<title>News</title>
</head>
<body>
<div id="navbar"></div>
<div id="top" class="section-container1">
<h1>Deccan Herald Newsletters : sign up</h1>
</div>
<div id="forms" class="section-container1">
<div id="newsletters_manage-first" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
Sign up for All <span>Newsletters</span>
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
I give my consent to Deccan Herald to be in touch with me via email
for the purpose of event marketing and corporate communications.
</p>
</div>
<div id="btn_container" class="email-field-button">
<input id="subscriber_email_first" placeholder="Email address" class="form-control" type="text" required="" />
<button data-lid="59" class="f-right" id="subscribe_btn_first">
Sign Up For All
</button>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
top news of the day
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
I give my consent to Deccan Herald to be in touch with me via email
for the purpose of event marketing and corporate communications.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Daily
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
<a class="f-right see-latest" data-toggle="modal" data-target="#LatestNewsletter" id="see-latest">See Latest <i
class="fa-solid fa-angle-right"></i></a>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
POLITICAL THEATRE
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
A look at the political happenings of the week that shape the
national conversation.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Weekly
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
<a class="f-right see-latest" data-toggle="modal" data-target="#LatestNewsletter" id="see-latest">See Latest <i
class="fa-solid fa-angle-right"></i></a>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
THE DH SPORTSLETTER
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
The letter keeps you updated on all you need to know from the world
of sports. During the IPL, it will arrive in your inboxes daily
throughout the length of the tournament.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Weekly
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
<a class="f-right see-latest" data-toggle="modal" data-target="#LatestNewsletter" id="see-latest">See Latest <i
class="fa-solid fa-angle-right"></i></a>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
DH VIDEO ON DEMAND
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
Spend time with the best video storytelling from DH. Delivered on
weekends..
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Coming soon
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
TUNE IN TO DH RADIO
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
A special curated look at the audio stories that deserve your
attention.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Coming soon
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
BEST OF DH OPINION
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
Explore fresh perspectives, insightful analyses, fearless editorials
and sharp arguments with this letter. We address the most pressing
issues every single week.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Coming soon
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
</div>
</div>
<div id="newsletters_manage" class="subscribe_newsletter">
<div class="group parent-relative grid-col-full section-heading-wrapper">
<div class="group strip">
<h3 itemprop="headline" class="sign-up-all title-for-all">
BEST OF DH ON WEEKENDS
</h3>
</div>
</div>
<div id="agree_container_3_0">
<p>
Take time to pause, reflect and feed your brain with our weekend
letter. Our selection covers a range of topics and is sure to spark
friendly debates. Your weekends will never be the same again.
</p>
</div>
<div id="btn_container">
<div class="frequency">
<i class="fa fa-clock-o"></i> Coming soon
</div>
<input id="subscriber_email" placeholder="Email address" class="form-control form_field_email" type="text"
required="" name="email" />
<input class="f-left" id="first_value" value="Sign Up" />
<button class="f-left" id="subscribe_btn">Sign Up</button>
</div>
</div>
<div id="images">
<div>
<div></div>
<p>WHAT'S BREWING</p>
</div>
</div>
</div>
<div id="foot"></div>
</body>
<script src="https://kit.fontawesome.com/00b3499e31.js" crossorigin="anonymous"></script>
<script src="./component/nav.js"></script>
<script src="./scripts/footer.js" type="module"></script>
<script src="./scripts/index.js" type="module"></script>
</html>
<script>
let btns = document.querySelectorAll("#subscribe_btn")
let emails = document.querySelectorAll("#subscriber_email")
let submits = document.querySelectorAll("#first_value")
let latest = document.querySelectorAll("#see-latest")
btns.forEach(el => el.addEventListener("click", getData));
function getData() {
console.log("X")
}
for (let i = 0; i < submits.length; i++) {
submits[i].addEventListener("click", function () {
submits[i].classList.toggle("show")
emails[i].classList.toggle("show")
btns[i].classList.toggle("show")
latest[i].classList.toggle("show")
})
}
</script>