-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathindex.html
656 lines (616 loc) · 26.8 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
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home / X</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
/>
<link rel="stylesheet" href="css/output.css" />
<link rel="stylesheet" href="css/messages.css">
<link rel="stylesheet" href="css/popup.css">
<style>
/* Add styles for the hamburger menu and responsive design */
@media (max-width: 768px) {
.left-sidebar {
display: none; /* Hides the sidebar on small screens */
}
.hamburger {
display: block;
cursor: pointer;
position:fixed;
z-index: 888;
}
.hamburger-menu {
display: none;
flex-direction: column;
background-color: black;
padding: 20px;
position: absolute;
top: 25px;
left: 10px;
width: 250px;
z-index: 1000;
border-radius: 10px;
}
.hamburger-menu.show {
display: flex; /* Shows the hamburger menu when toggled */
height: 100vh;
position: fixed;
}
.hamburger-line {
width: 25px;
height: 3px;
background-color: white;
margin: 5px;
}
/* Make the content wider when the sidebar is hidden */
.main-content {
width: 100%; /* Change: Full width when sidebar is hidden */
}
}
@media (min-width: 768px) {
.hamburger {
display: none; /* Hides the hamburger on larger screens */
}
.hamburger-menu{
display: none;
}
.main-content {
width: calc(100% - 250px); /* Adjust width based on sidebar size */
}
}
.main-content {
padding: 20px;
transition: width 0.3s; /* Smooth transition for width change */
}
</style>
</head>
<body class="bg-black min-h-screen text-white">
<!-- Hamburger icon for smaller screens -->
<div class="hamburger" id="hamburger">
<div class="hamburger-line"></div>
<div class="hamburger-line"></div>
<div class="hamburger-line"></div>
</div>
<!-- Hamburger menu options (will have the same options as the sidebar) -->
<div class="hamburger-menu" id="hamburgerMenu">
<ul class="flex flex-col text-xl font-medium">
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">home</span>Home
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">search</span>Explore
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">notifications</span>Notifications
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">email</span>Messages
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">chat</span>Grok
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">lists</span>Lists
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">bookmarks</span>Premium
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">person</span><a href="profile.html">Profile</a>
</li>
<li class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all">
<span class="material-symbols-outlined text-2xl">more</span>More
</li>
<li class="flex items-center gap-3 w-full cursor-pointer p-3">
<button type="button" class="bg-[#1d9bf0] hover:bg-[#68c3ff] py-2 rounded-full w-full p-3">Post</button>
</li>
</ul>
</div>
<!-- messgaes start -->
<div id="messages">
<div id="messages_topper">
<span id="messgaes_top_span" >Messages</span>
<img src="messages.png" alt="" id="img_messages1">
<img src="expand.png" alt="" id="img_messages2">
<img src="expand.png" alt="" id="img_messages3">
</div>
<div class="message_content">
<img src="Images/bill_gates.jpeg" alt="" class="message_profile">
<div class="message_msg">
<span class="message_name">Bill Gates</span>
<span class="message_mail">[email protected]</span>
<span class="date">19 Oct,2024</span>
<p class="msg">Hi Abhrajit , wanna work together?</p>
</div>
</div>
</div>
<!-- messages end -->
<div class="flex flex-row container mx-auto">
<div class="left-sidebar h-full">
<div class="flex justify-between flex-col h-full">
<div>
<div class="invert logo mx-5 my-3 w-full">
<svg
viewBox="0 0 24 24"
aria-hidden="true"
class="w-8 r-4qtqp9 r-yyyyoo r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-lrsllp r-1nao33i r-16y2uox r-8kz0gk"
>
<g>
<path
d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
></path>
</g>
</svg>
</div>
<div class="sidebar w-full">
<ul class="flex flex-col text-xl font-medium">
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">home</span
>Home
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">search</span
>Explore
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl"
>notifications</span
>Notifications
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">email</span
>Messages
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">chat</span
>Grok
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">group</span
><a href="communities.html">Communities</a>
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">lists</span
>Lists
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl"
>bookmarks</span
>Premium
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">person</span
><a href="profile.html">Profile</a>
</li>
<li
class="flex items-center gap-3 w-full hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-2xl">more</span
>More
</li>
<li class="flex items-center gap-3 w-full cursor-pointer p-3">
<button
class="bg-[#1d9bf0] hover:bg-[#1a8cd8] py-2 rounded-full w-full p-3"
>
Post
</button>
</li>
</ul>
</div>
</div>
<div class="p-4 w-full">
<div
class="flex items-center gap-3 hover:bg-gray-900 cursor-pointer p-3 w-full hover:rounded-full transition-all"
>
<img class="rounded-full size-8" src="public/dp.jpg" alt="..." />
<a href="profile.html">
<div class="aboutitem">
<div class="font-medium text-md">Abhrajit Gupta</div>
<div class="text-sm text-gray-500">@abhrajit_gupta</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div
class="second w-full border-[1px] border-x-[#2f3336] border-y-[#2f3336]"
>
<div class="top flex p-3 relative cursor-pointer">
<div
class="absolute w-16 h-1 bottom-0 bg-[#1d9bf0] left-[19%] rounded-full z-10"
></div>
<div class="left bg-red-1 w-1/2 flex justify-center font-bold">
For you
</div>
<div class="right bg-green-4001 w-1/2 flex justify-center font-bold">
Following
</div>
<div class="settings mx-2">
<span
class="material-symbols-outlined transform transition duration-300 hover:scale-110 hover:shadow-lg"
>
settings
</span>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
<div class="whatishap flex gap-4 my-3">
<div class="img m-3">
<img class="rounded-full" src="public/dp.jpg" alt="" />
</div>
<div class="w-full">
<input
class="w-full bg-black h-7 my-4 text-white outline-none text-xl"
type="text"
placeholder="What is happening?!"
/>
<div
class="text-[#1d9bf0] flex items-center gap-2 font-medium my-4"
>
<span class="material-symbols-outlined"> globe_asia </span>
<span class="cursor-pointer">Everyone can reply</span>
</div>
<div class="w-[90%] h-[1px] bg-[#2f3336] my-3"></div>
<div class="blueicons flex gap-1 text-[#1d9bf0] items-center">
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
image
</span>
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
gif
</span>
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
ballot
</span>
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
mood
</span>
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
calendar_month
</span>
<span
class="material-symbols-outlined cursor-pointer hover:bg-blue-600 hover:rounded-full w-fit flex p-1 items-center transition-all ease-in-out"
>
location_on
</span>
<span class="cursor-pointer">
<button
class="text-white w-fit bg-[#1d9bf0] hover:bg-[#1a8cd8] px-7 py-2 rounded-full font-bold"
>
Post
</button>
</span>
</div>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
<div class="posts">
<div class="post">
<div class="flex">
<div class="image m-3">
<img class="rounded-full w-32" src="public/item2.jpg" alt="..." />
</div>
<div class="content my-3">
<div class="profile-info flex gap-1">
<span class="font-bold hover:underline cursor-pointer"
>Shah Rukh Khan</span
>
<span class="material-symbols-outlined text-[#1d9bf0]"
>verified</span
>
<span class="text-gray-500 font-medium"> @iamsrk · 9h</span>
</div>
<div>
Wishing you all a very Happy Republic Day…. May the Tiranga
always fly high, symbolising the unity, strength and pride of
our nation. As Indians, let's contribute towards the
progress and prosperity of our country. Jai Hind!
</div>
<div class="postimg cursor-pointer">
<img
class="w-[96%] rounded-xl my-2"
src="public/sample.jpeg"
alt="..."
onclick="openPopup('public/sample.jpeg')"
/>
</div>
<div class="icons flex mx-2 justify-around text-gray-600">
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
chat_bubble </span
>1.5K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-green-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-green-600 hover:text-green-300 hover:rounded-full flex p-1 items-center transition-all"
>
repeat </span
>6.3K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-pink-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-pink-600 hover:text-pink-300 hover:rounded-full flex p-1 items-center transition-all"
>
favorite </span
>54K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
bar_chart </span
>791K
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex items-center transition-all"
>
bookmark
</span>
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
iOS_share
</span>
</div>
</div>
</div>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
<div class="post">
<div class="flex">
<div class="image m-3">
<img class="rounded-full" src="public/item5.jpg" alt="..." />
</div>
<div class="content my-3">
<div class="profile-info flex gap-1">
<span class="font-bold hover:underline cursor-pointer"
>Daniel Cranney</span
>
<span class="material-symbols-outlined text-[#1d9bf0]"
>verified</span
>
<span class="text-gray-500 font-medium">
@danielcranney · 14h</span
>
</div>
<div>
Developers, I'm not the only one who thinks HTML could be
more readable, right? 🤔
</div>
<div class="postimg cursor-pointer">
<img
class="w-[96%] rounded-xl my-2"
src="public/sample2.jpeg"
alt="..."
onclick="openPopup('public/sample2.jpeg')"
/>
</div>
<div class="icons flex mx-2 justify-around text-gray-600">
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
chat_bubble </span
>1.5K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-green-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-green-600 hover:text-green-300 hover:rounded-full flex p-1 items-center transition-all"
>
repeat </span
>6.3K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-pink-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-pink-600 hover:text-pink-300 hover:rounded-full flex p-1 items-center transition-all"
>
favorite </span
>54K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
bar_chart </span
>791K
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex items-center transition-all"
>
bookmark
</span>
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
iOS_share
</span>
</div>
</div>
</div>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
</div>
</div>
<div class="third">
<div class="search flex justify-center mx-6 my-3">
<input
type="text"
class="rounded-full bg-[#16181c] px-4 py-2 w-96"
placeholder="Search"
/>
</div>
<!-- <div class="premium bg-gray-800 w-96 flex flex-col px-4 py-2 m-auto rounded-xl gap-2">
<h1 class="font-bold text-2xl">Subscribe to Premium</h1>
<div>Subscribe to unlock new features and if eligible, receive a share of ads revenue.</div>
<button class="btn bg-blue-500 w-fit px-4 py-2 rounded-full font-bold my-1 hover:bg-blue-600">Subscribe</button>
</div> -->
<div class="whats bg-[#16181c] rounded-xl my-3 mx-6 w-96">
<h1 class="text-xl font-bold p-3">What's happening</h1>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#RepublicDayAtNSEC</div>
<div class="font-bold text-sm text-gray-500">2M posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#AnimalOnNetflix</div>
<div class="font-bold text-sm text-gray-500">900K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#Orry</div>
<div class="font-bold text-sm text-gray-500">700K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#Fighter</div>
<div class="font-bold text-sm text-gray-500">600K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#SigmaCourse</div>
<div class="font-bold text-sm text-gray-500">500K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer hover:rounded-xl transition-all"
>
<div class="text-blue-400 hover:underline">Show more</div>
</div>
</div>
<div class="who bg-[#16181c] rounded-xl my-3 mx-6 w-96">
<h1 class="text-xl font-bold p-3">Who to follow</h1>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer flex transition-all"
>
<img class="rounded-full" src="public/item1.jpg" alt="..." />
<div class="aboutitem mx-3">
<div class="font-bold">Neeraj Walia</div>
<div class="text-sm text-gray-500">@ezSnippet</div>
</div>
<!-- <button class="bg-white text-black font-medium rounded-full w-24 mx-8">Follow</button> -->
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer hover:rounded-xl transition-all"
>
<div class="text-blue-400 hover:underline">Show more</div>
</div>
</div>
<div class="popup" id="popup">
<span class="close" onclick="closePopup()">×</span>
<img class="popup-image" id="popup-image" src="" alt="Enlarged Image">
</div>
</div>
</div>
<script>
var up_button=document.getElementById('img_messages2');
var down_button=document.getElementById('img_messages3');
var messages=document.getElementById('messages');
// var form1=document.getElementById('form1');
up_button.onclick=function(){
messages.style.top='43%';
up_button.style.display="none";
down_button.style.display="flex";
}
down_button.onclick=function(){
messages.style.top='93%';
up_button.style.display="flex";
down_button.style.display="none";
}
// JavaScript to toggle the hamburger menu
const hamburger = document.getElementById("hamburger");
const hamburgerMenu = document.getElementById("hamburgerMenu");
hamburger.addEventListener("click", function () {
hamburgerMenu.classList.toggle("show"); // Toggle visibility of the hamburger menu
});
function openPopup(imageUrl) {
const popup = document.getElementById('popup');
const popupImage = document.getElementById('popup-image');
popupImage.src = imageUrl; // Set the image URL
popup.style.display = 'flex'; // Show the pop-up
}
function closePopup() {
const popup = document.getElementById('popup');
popup.style.display = 'none'; // Hide the pop-up
}
</script>
<button id="scrollToTopBtn" title="Go to top">Scroll to Top</button>
<script src="messages.js"></script>
</body>
</html>