-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMeteor.html
902 lines (744 loc) · 26.2 KB
/
Meteor.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
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Meteor.css">
<link rel="icon" href="./image/logo.webp" />
<!-- link -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
rel="stylesheet"
/>
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"
/>
<!-- link -->
<title>Meteor</title>
</head>
<body>
<div class="nav">
<a href="index.html">
<img src="./image/logo2.webp" alt="logo" loading="lazy"
/></a>
<div class="nav-part2">
<ul>
<li id="service">
Service <i class="ri-arrow-drop-down-line"></i>
<div class="dropdown1">
<ul style="list-style: none">
<li><a href="./Web-Development.html">Web App</a></li>
<li>
<a href="./Mobile-Development.html">Mobile App</a>
</li>
<li>
<a href="./Design.html">Design</a>
</li>
<li>
<a href="./SEO.html">S.E.O.</a>
</li>
</ul>
</div>
</li>
<li>
Technology <i class="ri-arrow-drop-down-line"></i>
<div class="dropdown2">
<ul style="list-style: none">
<li>
<a href="./AspNet.html">Asp.Net</a>
</li>
<li>
<a href="./DBMS.html">DBMS</a>
</li>
<li>
<a href="./Mean-Stack.html">MEAN Stack</a>
</li>
<li>
<a href="./Mern-Stack.html">MERN Stack</a>
</li>
<li>
<a href="./Meteor.html">Meteor</a>
</li>
<li>
<a href="./Reporting.html">Reporting</a>
</li>
</ul>
</div>
</li>
<li><a href="./about-us.html">About Us</a></li>
<li><a href="./ourWork.html">Our Work</a></li>
<li><a href="./career.html">Career</a></li>
<li><a href="./contact-us.html">Contact Us</a></li>
</ul>
</div>
<div class="button">
<i
class="ri-menu-line"
id="menu"
onclick="showMobileNav()"
style="cursor: pointer"
></i>
<i
class="ri-close-large-line"
id="close"
onclick="closeMobileNav()"
style="cursor: pointer"
></i>
</div>
</div>
<!-- mobile nav -->
<div class="mobile-nav">
<ul>
<li onclick="showMobDropdown1()">
Service <i class="ri-arrow-drop-down-line"></i>
<ul class="mob-dropdown1" style="list-style: none">
<li><a href="./Web-Development.html">Web App</a></li>
<li><a href="./Mobile-Development.html">Mobile App</a></li>
<li><a href="./Design.html">Design</a></li>
<li><a href="./SEO.html">S.E.O.</a></li>
</ul>
</li>
<li onclick="showMobDropdown2()">
Technology<i class="ri-arrow-drop-down-line"></i>
<ul class="mob-dropdown2" style="list-style: none">
<li><a href="./AspNet.html">Asp.Net</a></li>
<li><a href="./DBMS.html">DBMS</a></li>
<li><a href="./Mean-Stack.html">MEAN Stack</a></li>
<li><a href="./Mern-Stack.html">MERN Stack</a></li>
<li><a href="./Meteor.html">Meteor</a></li>
<li><a href="./Reporting.html">Reporting</a></li>
</ul>
</li>
<li><a href="./about-us.html">About Us</a></li>
<li><a href="./ourWork.html">Our Work</a></li>
<li><a href="./career.html">Career</a></li>
<li><a href="./contact-us.html">Contact Us</a></li>
</ul>
</div>
<!-- end of mobile nav -->
<section class="content-1">
<div class="row">
<div id="div-1">
<h1 data-aos="fade-up" data-aos-duration="1000">
Meteor Development
</h1>
<p data-aos="fade-up" data-aos-delay="100" data-aos-duration="1000">
Experts in Meteor Stack development for mission-critical applications. With a host of dynamic features, Meteor web development helps in keeping applications structured by eliminating unnecessary grunt work.
</p>
</div>
<div
id="div-2"
data-aos="zoom-out"
data-aos-delay="100"
data-aos-duration="1000"
>
<img src="./image/meteor.webp" alt="meteor" loading="lazy" />
</div>
</div>
</section>
<!-- end of content-1 -->
<!-- ----------------------------------------------------- -->
<section class="content-2">
<div class="heading" data-aos="fade-up">
<h2>Create your own team</h2>
<h1>Hire our dedicated developers</h1>
</div>
<div class="row">
<div
data-aos="fade-up"
data-aos-delay="100"
class="service-box asp-border-bottom"
>
<i class="ri-discuss-line icon" id="icon"></i>
<h3>Meteor Developer</h3>
<p>
Experienced Meteor developers for hire with more than six years of experience to build robust and flexible business applications. <br>
Now, save your time & efforts by hiring dedicated Meteor developers.
</p>
<a class="read-more" href="./hire-meteor.html">
<span>Click For Hire</span>
<i class="ri-arrow-right-line" id="arrow"></i>
</a>
</div>
</div>
</section>
<!-- end of content-2 -->
<section class="content-3" data-aos="fade-up">
<div class="heading">
<h2>Our Offerings</h2>
<h1>What is Meteor Development?</h1>
</div>
<div class="row">
<div class="div-1">
<img src="./image/meteorImg.webp" alt="meteorImg" loading="lazy">
</div>
<div class="div-2">
<p>Meteor is an open source framework for seamlessly building and deploying Web, Mobile, and Desktop applications in Javascript.Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community.</p>
</div>
</div>
</section>
<!-- end of content-3 -->
<section class="content-4">
<div class="row">
<div class="box">
<img src="./image/angular.webp" alt="angular" loading="lazy">
<h4>AngularJS <br>
Development
</h4>
<p>We have extensively used AngularJS for developing engaging and intuitive front-end interfaces with model-view-controller (MVC) capability and RESTful APIs. At the same time, we can develop highly interactive server-side applications with expressive UI using Java</p>
</div>
<!-- ----------------------------------------- -->
<div class="box">
<img src="./image/react.webp" alt="react" loading="lazy">
<h4>ReactJS <br>
Development
</h4>
<p> The top tier of the Meteor stack is React.js, the declarative JavaScript framework for creating dynamic client-side applications in HTML. React lets you build up complex interfaces through simple Components, connect them to data on your backend server, and render them as HTML.</p>
</div>
<!-- ---------------------------- -->
<div class="box">
<img src="./image/node.webp" alt="node" loading="lazy">
<h4>Node.js <br>
Development
</h4>
<p> Node.js shines in the world of real-time web applications deploying push technology over web sockets. Using Node.js’ asynchronous event-driven JavaScript programming, we build infinitely scalable, lightweight and high-performance applications with strong social and video integrations
</p>
</div>
<!-- --------------=----------------- -->
</div>
</section>
<section class="content-5" data-aos="fade-up"
data-aos-duration="1000">
<div class="heading">
<h2>OUR SERVICES</h2>
<h1>Best Meteor development services in India</h1>
</div>
<div class="row">
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-command-line"></i>
<div>
<h4>Integrate technologies you already use</h4>
</div>
</div>
</div>
<!-- ------------------------ -->
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-line-chart-line"></i>
<div>
<h4>Building and Managing Projects</h4>
</div>
</div>
</div>
<!-- ------------------------ -->
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-stack-line"></i>
<div>
<h4>Optimizing App Performance</h4>
</div>
</div>
</div>
<!-- ------------------------ -->
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-radar-line"></i>
<div>
<h4>Build apps for any device</h4>
</div>
</div>
</div>
<!-- ------------------------ -->
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-magic-line"></i>
<div>
<h4>Use popular frameworks and tools</h4>
</div>
</div>
</div>
<!-- ------------------------ -->
<div class="div-1">
<div class="one" data-aos="fade-up"
data-aos-delay="100">
<i class="ri-brush-4-line"></i>
<div>
<h4>Updating, Upgrading and Maintaining Your Software</h4>
</div>
</div>
</div>
<!-- -------------------------- -->
</div>
</section>
<!-- end of content-5 -->
<section class="content-6">
<div class="row" data-aos="fade-up" data-aos-duration="1000">
<div class="box">
<div class="icon1">
<i class="ri-emotion-happy-line"></i>
</div>
<div>
<span
data-purecounter-start="100"
data-purecounter-end="208"
data-purecounter-duration="1"
class="purecounter"
>208</span
>
<p>Happy Clints</p>
</div>
</div>
<!-- ---------------------------------- -->
<div class="box">
<div class="icon2">
<i class="ri-file-text-line"></i>
</div>
<div>
<span
data-purecounter-start="100"
data-purecounter-end="389"
data-purecounter-duration="1"
class="purecounter"
>389</span
>
<p>Projects</p>
</div>
</div>
<!-- ---------------------------------- -->
<div class="box">
<div class="icon3">
<i class="ri-customer-service-line"></i>
</div>
<div>
<span
data-purecounter-start="100"
data-purecounter-end="4463"
data-purecounter-duration="1"
class="purecounter"
>4463</span
>
<p>Hours Of Support</p>
</div>
</div>
<!-- ---------------------------------- -->
<div class="box">
<div class="icon4">
<i class="ri-group-line"></i>
</div>
<div>
<span
data-purecounter-start="10"
data-purecounter-end="18"
data-purecounter-duration="1"
class="purecounter"
>18</span
>
<p>Hard Workers</p>
</div>
</div>
</div>
</section>
<!-- end of content-6 -->
<section class="content-7">
<div class="heading" data-aos="fade-up">
<h2>Working With</h2>
<h1>Net solutions for Meteor development</h1>
</div>
<div class="row">
<div class="main" data-aos="fade-up" data-aos-delay="100">
<h1><i class="ri-corner-down-right-fill" id="icon-1"></i>What makes Meteor different from JavaScript frameworks like React or Vue.js?<i class="ri-add-line" id="icon-2"></i></h1>
<p>Meteor is a full-stack JavaScript App Platform that assembles all the pieces you need to build modern web, desktop, and mobile apps with a single JavaScript codebase. React and Vue.js are JavaScript UI frameworks that can be used in conjunction with Meteor. Think of React, Vue.js, Svelte and Blaze as the 'V' in MVC. Meteor automatically manages the data flow between cloud and client applications, as well as client UI state and rendering regardless of which UI framework you use. You can also use Meteor with GraphQL or REST if you prefer.</p>
</div>
<div class="main" data-aos="fade-up" data-aos-delay="100">
<h1><i class="ri-corner-down-right-fill" id="icon-1"></i>Which database can I use with Meteor?<i class="ri-add-line" id="icon-2"></i></h1>
<p>Any database with a Node.js driver is supported by Meteor as we are a Node.js application on the server. MongoDB is usually the most used in Meteor community as it has more integrations with Meteor as well as a subscriptions model implemented on top of it.</p>
</div>
<div class="main" data-aos="fade-up" data-aos-delay="100">
<h1><i class="ri-corner-down-right-fill" id="icon-1"></i>Does Meteor work on Windows?<i class="ri-add-line" id="icon-2"></i></h1>
<p>Yes, you can install Meteor on Windows, Unix or MacOS.</p>
</div>
<div class="main" data-aos="fade-up" data-aos-delay="100">
<h1><i class="ri-corner-down-right-fill" id="icon-1"></i>How much does it cost to use Meteor?<i class="ri-add-line" id="icon-2"></i></h1>
<p>Meteor.js is an open source project and is free to download and use. Meteor Cloud (our commercial product for deploying, hosting and managing your app,) has several different plan options based on your monthly GB usage. Our free Meteor Cloud plan allows you to deploy your app for free, then choose an appropriate plan as you scale. We also offer 20% off in savings plans when you prepay for 1 year. Check out our documentation for more info.</p>
</div>
</div>
</section>
<!-- end of content-7 -->
<section class="content-8">
<div class="row">
<div class="div-1">
<div class="img">
<img
src="./image/pm-1.webp"
alt="pm-1"
loading="lazy"
/>
</div>
<div class="img margin-top">
<img
src="./image/p-2.webp"
alt="p-2"
loading="lazy"
/>
</div>
<div class="img">
<img
src="./image/p-8.webp"
alt="p-8"
loading="lazy"
/>
</div>
<div class="img margin-top">
<img
src="./image/pm-4.webp"
alt="pm-4"
loading="lazy"
/>
</div>
</div>
<div class="div-2">
<div class="heading">
<h5>WE PROVIDE SERVICES IN METEOR</h5>
<h2>OUR LATEST WORK</h2>
<p>We have expertise in the latest Website Design and Development Services. Our Website Design and Development Services are Customized, Scalable, Advanced as well as cost-effective that serve all your business requirements.</p>
</div>
<ul>
<li>
<i class="ri-check-double-line"></i>
<div class="div">
<h3>Acquire the Necessary Skills</h3>
<p>Our skilled professional developers. Fully customizable services and solutions for every niche.</p>
</div>
</li>
<li>
<i class="ri-check-double-line"></i>
<div class="div">
<h3>Customization as per your requirements</h3>
<p>A complete web design and development solution loaded with all the necessary requirements and a user-friendly interface.</p>
</div>
</li>
</ul>
<div class="btn" data-aos="fade-up" data-aos-duration="100">
<span><a href="./ourWork.html">View All</a></span>
<i class="ri-arrow-right-line"></i>
</div>
</div>
</section>
<!-- end of content-8 -->
<section class="content-9">
<div class="heading" data-aos="fade-up">
<h2>We're using</h2>
<h1>Tools & Technologies</h1>
</div>
<div class="row" data-aos="fade-up" data-aos-delay="100">
<!-- Swipper -->
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img
id="img"
src="./image/graphQL.webp"
alt="graphQL"
loading="lazy"
id="img"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/npm.webp"
alt="npm"
loading="lazy"
id="img"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/react.webp"
alt="react"
loading="lazy"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/vue.webp"
alt="vue"
loading="lazy"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/Visual-Studio-Logo.webp"
alt="Visual-Studio-Logo"
loading="lazy"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/angular.webp"
alt="angular"
loading="lazy"
/>
</div>
<div class="swiper-slide">
<img
id="img"
src="./image/cordova.webp"
alt="cordova"
loading="lazy"
/>
</div>
</div>
<!-- <div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div> -->
<div class="swiper-pagination"></div>
</div>
</div>
</section>
<!-- end of content-9 -->
<section class="content-10">
<div class="heading" data-aos="fade-up" data-aos-duration="1000">
<h2>Make your team</h2>
<h1>Hire our dedicated developers</h1>
</div>
<div class="row">
<div class="service-box border-bottom-1" data-aos="fade-up" data-aos-duration="1000">
<i class="ri-discuss-line icon-1" id="icon"></i>
<h3>React Developer</h3>
<a href="./contact-us.html" class="read-more-1">
<span>Click For Hire</span>
<i class="ri-arrow-right-line" id="arrow"></i>
</a>
</div>
<!-- -------------------------------------------- -->
<div class="service-box border-bottom-2" data-aos="fade-up" data-aos-duration="1000">
<i class="ri-discuss-line icon-2" id="icon"></i>
<h3>Angular Developer</h3>
<a href="./contact-us.html" class="read-more-2">
<span>Click For Hire</span>
<i class="ri-arrow-right-line" id="arrow"></i>
</a>
</div>
<!-- -------------------------------------------- -->
<div class="service-box border-bottom-3" data-aos="fade-up" data-aos-duration="1000">
<i class="ri-discuss-line icon-3" id="icon"></i>
<h3>Native Developer</h3>
<a href="./contact-us.html" class="read-more-3">
<span>Click For Hire</span>
<i class="ri-arrow-right-line" id="arrow"></i>
</a>
</div>
<!-- -------------------------------------------- -->
</div>
</section>
<!-- end of content-10 -->
<footer>
<div class="row">
<div>
<a href="index.html">
<img src="./image/logo2.webp" alt="logo2" loading="lazy" />
</a>
<p>
We believe that pursuit of excellence is the key to success, and via
this pursuit, we wish to become global leaders in consulting and
outsourcing web and mobile application development services.
</p>
<div class="smedia">
<a href="https://www.instagram.com/manasranjanarukha/">
<i class="ri-instagram-line" id="icon"></i>
</a>
<a
href="https://www.linkedin.com/in/manas-ranjan-arukha-1338012b7/"
>
<i class="ri-linkedin-box-fill" id="icon"></i
></a>
</div>
</div>
<div>
<h4>OUR SERVICES</h4>
<ul>
<a href="./Web-Development.html">
<li>Web App</li>
</a>
<a href="./Mobile-Development.html">
<li>Mobile App</li>
</a>
<a href="./Design.html"> <li>Designing</li></a>
<a href="./SEO.html"><li>S.E.O.</li></a>
</ul>
</div>
<div>
<h4>HIRE DEVELOPER</h4>
<ul>
<a href="./hire-asp-net.html"><li>ASP.NET</li></a>
<a href="./hire-DBMS.html"><li>DBMS</li></a>
<a href="./hire-mean-stack.html"><li>Mean Stack</li></a>
<a href="./hire-mern-stack.html"><li>Mern Stack</li></a>
<a href="./hire-meteor.html"><li>Meteor</li></a>
<a href="./hire-reporting.html"><li>Reporting</li></a>
</ul>
</div>
<div>
<h4>CONTACT US</h4>
<p>
<a
href="https://maps.app.goo.gl/gbAcTwXTUo5XNPRg6"
rel="noopener"
aria-label="Address"
target="_blank"
title=""
data-bs-original-title="Algoscript Address"
>
Panisaunli, Khaira, Balasore, Odisha, India - 756049
</a>
</p>
<ul>
<li>
<span>Phone:- </span
><a
href="tel:+918093796052"
aria-label="Mobile"
rel="noopener"
title=""
data-bs-original-title="Algoscript Contact"
>+91 80937 96052</a
>
</li>
<li>
<span>Email:- </span
><a
aria-label="Mail"
href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]"
target="_blank"
rel="noopener"
title=""
data-bs-original-title="Algoscript Mail"
>
</li>
</ul>
</div>
</div>
</footer>
<script>
document.addEventListener("DOMContentLoaded", function () {
AOS.init();
});
</script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@srexi/purecounterjs/dist/purecounter_vanilla.js"></script>
<script>
new PureCounter();
</script>
<script>
var swiper = new Swiper(".mySwiper", {
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: true,
},
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
</script>
<script>
// Mobile Nav
const mobDropdown1=document.querySelector('.mob-dropdown1');
const mobDropdown2=document.querySelector('.mob-dropdown2');
const mobileNav=document.querySelector('.mobile-nav');
const menu=document.querySelector('#menu');
const close=document.querySelector('#close');
const body=document.querySelector("body");
let mobDropdown1Active = false; // Set to false initially
let mobDropdown2Active = false; // Set to false initially
function showMobDropdown1() {
if (mobDropdown1Active) {
mobDropdown1.style.display = 'none';
mobDropdown1Active = false;
} else {
mobDropdown1.style.display = 'block';
mobDropdown1Active = true;
}
}
function showMobDropdown2() {
if (mobDropdown2Active) {
mobDropdown2.style.display = 'none';
mobDropdown2Active = false;
} else {
mobDropdown2.style.display = 'block';
mobDropdown2Active = true;
}
}
function showMobileNav() {
mobileNav.style.display = 'block';
menu.style.display = 'none';
close.style.display = 'block';
}
function closeMobileNav() {
mobileNav.style.display = 'none';
close.style.display = 'none';
menu.style.display = 'block';
}
// ----------------------------------------------------------------------------
// Swipper
var swiper = new Swiper(".mySwiper", {
spaceBetween: 30,
centeredSlides: true,
autoplay: {
delay: 2500,
disableOnInteraction: true,
},
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
// Select all .main elements
const mainElements = document.querySelectorAll('.main');
// Add click event to each .main element
mainElements.forEach((main, index) => {
main.setAttribute('data-index', index + 1);
main.addEventListener('click', function () {
const p = this.querySelector('p');
console.log(p);
// Hide all other answers
mainElements.forEach(otherMain => {
const otherP = otherMain.querySelector('p');
console.log(otherP)
if (otherP !== p) {
otherP.classList.remove('show'); // Hide other answers
}
// console.log(`Clicked on .main element ${index + 1}`);
});
// Toggle the clicked answer
p.classList.toggle('show');
// Log which element was clicked
});
});
</script>
</body>
</html>