-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstate-info.html
More file actions
1415 lines (1286 loc) · 44 KB
/
state-info.html
File metadata and controls
1415 lines (1286 loc) · 44 KB
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
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="https://favicon-generator.org/favicon-generator/htdocs/favicons/2024-04-12/6b13c0e2c4b7ab54ce7583367c42166e.ico.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://favicon-generator.org/favicon-generator/htdocs/favicons/2024-04-12/6b13c0e2c4b7ab54ce7583367c42166e.ico.png">
<meta name="google-site-verification" content="1izKCetzNj3e7mRvTXIoFhcSN0popYPWvwyzTtEBi24" />
<meta name="mylead-verification" content="36f3e822fb8e7a332ba9fd627eca510d">
<!-- Primary Meta Tags -->
<title>State Info- USA Staffing Tools</title>
<meta name="description" content="Explore your one-stop destination for comprehensive USA Staffing solutions. Unlock maps, time zones, currency exchange rates, tax terms, visa information, interview preparation questions, email extraction tools, and beyond. Stay connected, keep browsing, and embrace the ease of access!">
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="USA Staffing Tools">
<meta itemprop="description" content="Explore your one-stop destination for comprehensive USA Staffing solutions. Unlock maps, time zones, currency exchange rates, tax terms, visa information, interview preparation questions, email extraction tools, and beyond. Stay connected, keep browsing, and embrace the ease of access!">
<meta itemprop="image" content="https://5.imimg.com/data5/SELLER/Default/2021/10/LJ/WB/EG/135105375/us-staffing-project-500x500.jpg">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://securebugs.github.io/StaffingTools/Tools">
<meta property="og:type" content="website">
<meta property="og:title" content="USA Staffing Tools">
<meta property="og:description" content="Explore your one-stop destination for comprehensive USA Staffing solutions. Unlock maps, time zones, currency exchange rates, tax terms, visa information, interview preparation questions, email extraction tools, and beyond. Stay connected, keep browsing, and embrace the ease of access!">
<meta property="og:image" content="https://5.imimg.com/data5/SELLER/Default/2021/10/LJ/WB/EG/135105375/us-staffing-project-500x500.jpg">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="USA Staffing Tools">
<meta name="twitter:description" content="Explore your one-stop destination for comprehensive USA Staffing solutions. Unlock maps, time zones, currency exchange rates, tax terms, visa information, interview preparation questions, email extraction tools, and beyond. Stay connected, keep browsing, and embrace the ease of access!">
<meta name="twitter:image" content="https://5.imimg.com/data5/SELLER/Default/2021/10/LJ/WB/EG/135105375/us-staffing-project-500x500.jpg">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Material Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Font Awesome for fas icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--primary-color: #4361ee;
--secondary-color: #3a0ca3;
--accent-color: #4cc9f0;
--light-color: #f8f9fa;
--dark-color: #212529;
--success-color: #4bb543;
--icon-color: #0288d1;
}
[data-theme="dark"] {
--accent-color: #80d8ff;
--light-color: #1a1a1a;
--dark-color: #ffffff;
--success-color: #66bb6a;
--icon-color: #4fc3f7;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--light-color);
padding-top: 70px;
overflow: hidden; /* Prevent page-level scrolling */
color: var(--dark-color);
transition: background-color 0.3s, color 0.3s;
}
/* Fixed Navbar */
.navbar {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
padding: 0.8rem 1rem;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
[data-theme="dark"] .navbar {
background: linear-gradient(135deg, #4361ee, #3a0ca3); /* Same as light mode */
}
.navbar-brand {
font-weight: 700;
font-size: 1.5rem;
color: white !important;
}
/* Sidebar Toggle Button (Mobile) */
.sidebar-toggle {
background: var(--primary-color);
border: none;
border-radius: 50%;
width: 48px;
height: 48px;
display: none;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.3s;
}
.sidebar-toggle i {
color: white;
font-size: 1.5rem;
}
[data-theme="dark"] .sidebar-toggle {
background: #4361ee; /* Same as light mode */
}
/* Theme Toggle Button */
.theme-toggle {
background: var(--primary-color);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.3s;
}
.theme-toggle i {
color: white;
font-size: 1.2rem;
}
[data-theme="dark"] .theme-toggle {
background: #4361ee; /* Same as light mode */
}
.sidebar {
background: var(--light-color);
height: calc(100vh - 70px);
position: fixed;
top: 70px;
left: 0;
width: 60px;
transition: all 0.3s ease;
box-shadow: 2px 0 10px rgba(0,0,0,0.1);
z-index: 100;
overflow-y: auto;
overflow-x: hidden;
}
.sidebar:hover, .sidebar.expanded {
width: 220px;
}
.sidebar-menu {
padding-top: 20px;
list-style: none;
margin: 0;
}
.sidebar-menu li {
margin-bottom: 5px;
margin-left: -2rem;
}
.sidebar-menu a {
display: flex;
align-items: center;
padding: 12px 15px;
color: var(--dark-color);
text-decoration: none;
border-radius: 8px;
transition: all 0.3s;
white-space: nowrap;
margin: 0 5px;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
background-color: rgba(67, 97, 238, 0.1);
color: var(--primary-color);
}
.sidebar-menu i {
font-size: 1.2rem;
width: 30px;
text-align: center;
flex-shrink: 0;
}
.menu-text {
margin-left: 10px;
opacity: 0;
transition: opacity 0.3s;
font-weight: 500;
}
.sidebar:hover .menu-text, .sidebar.expanded .menu-text {
opacity: 1;
}
.main-content {
margin-left: 60px;
padding: 25px;
padding-bottom: 60px; /* Increased for footer gap */
transition: margin-left 0.3s ease;
}
.sidebar:hover ~ .main-content, .sidebar.expanded ~ .main-content {
margin-left: 220px;
}
.card {
border: none;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
margin-bottom: 40px; /* Increased for gap above footer */
background: var(--light-color);
max-height: calc(100vh - 140px); /* Adjusted for increased padding-bottom */
overflow: hidden; /* No scrolling at card level */
}
[data-theme="dark"] .card {
border: 1px solid rgba(255, 255, 255, 0.8);
}
.card-header {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
border-radius: 12px 12px 0 0 !important;
padding: 15px 20px;
font-weight: 600;
border: none;
display: flex;
justify-content: space-between;
align-items: center;
}
[data-theme="dark"] .card-header {
background: linear-gradient(135deg, #4361ee, #3a0ca3); /* Same as light mode */
}
.card-header div {
display: flex;
gap: 5px; /* Inline buttons with spacing */
}
.font-size-btn {
background: var(--secondary-color);
border: none;
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1rem;
cursor: pointer;
transition: background 0.3s;
}
.font-size-btn:hover {
background: var(--primary-color);
}
[data-theme="dark"] .font-size-btn {
background: #4361ee; /* Same as light mode primary */
}
[data-theme="dark"] .font-size-btn:hover {
background: #3a0ca3; /* Same as light mode secondary */
}
.card-body {
padding: 25px;
background: transparent;
display: flex;
flex-direction: column;
gap: 15px;
}
.card-container {
width: 100%;
}
.card-main {
background: var(--light-color);
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.05);
padding: 20px;
overflow: hidden; /* Disable card scrolling */
max-height: calc(100vh - 190px); /* Navbar (70px) + card-header (~50px) + card-body padding (50px) + margin-bottom (25px) */
}
[data-theme="dark"] .card-main {
border: 1px solid rgba(255, 255, 255, 0.8);
}
.state-card-body {
padding: 20px;
background: var(--light-color);
margin-bottom: 5px; /* Add margin to prevent overflow appearance */
}
[data-theme="dark"] .state-card-body {
background: var(--light-color);
}
.search-container {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
justify-content: center;
}
.search-container input {
max-width: 300px;
border-radius: 8px;
}
.search-container button {
border-radius: 8px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border: none;
padding: 8px 20px;
font-weight: 500;
}
[data-theme="dark"] .search-container button {
background: linear-gradient(135deg, #4361ee, #3a0ca3); /* Same as light mode */
}
#infoMessage {
max-width: 100%; /* Full width in desktop */
margin: 10px auto 20px;
font-size: 0.9rem;
}
.table-responsive {
width: 100%;
padding: 0;
margin: 0;
overflow: visible; /* Prevent Bootstrap scrollbars */
}
.table-container {
width: 100%;
overflow: auto;
max-height: calc(100vh - 295px); /* Adjusted for footer gap */
}
.state-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
table-layout: fixed; /* Ensure equal column widths on desktop */
}
.state-table thead {
position: sticky;
top: 0;
background: var(--primary-color);
color: white;
width: 100%;
}
[data-theme="dark"] .state-table thead {
background: #4361ee; /* Same as light mode */
}
.state-table tbody {
width: 100%;
}
.state-table th,
.state-table td {
padding: 10px;
text-align: left;
border-bottom: 1px solid rgba(0,0,0,0.1);
white-space: nowrap;
width: 16.67%; /* Equal width for 6 columns (100% / 6) */
min-width: 100px; /* Ensure minimum width for columns */
box-sizing: border-box; /* Include padding in width */
}
.state-table tr:hover {
background: rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .state-table tr:hover {
background: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .table-striped.state-table tbody tr td {
color: #ffffff !important; /* White text for all rows in dark mode */
}
[data-theme="dark"] .table-striped.state-table tbody tr:hover td {
color: #ffffff !important; /* White text on hover in dark mode */
}
/* Footer */
footer {
position: fixed;
bottom: 0;
left: 60px; /* Align with main-content */
width: calc(100% - 60px); /* Adjust for sidebar */
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
text-align: center;
padding: 10px;
z-index: 900; /* Below navbar and sidebar */
transition: left 0.3s ease;
}
[data-theme="dark"] footer {
background: linear-gradient(135deg, #4361ee, #3a0ca3); /* Same as light mode */
}
.sidebar:hover ~ footer, .sidebar.expanded ~ footer {
left: 220px;
width: calc(100% - 220px);
}
/* Timezone container styles (not used, kept for consistency) */
.timezone-container {
display: flex;
gap: 10px;
width: 100%;
flex-wrap: wrap;
}
.svg-box {
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transition: transform 0.2s ease, box-shadow 0.2s ease;
flex: 1 1 0;
height: 80px;
background: #ffffff;
}
[data-theme="dark"] .svg-box {
background: #1a1a1a;
border: 1px solid rgba(255, 255, 255, 0.8);
}
.svg-box:hover {
transform: translateY(-3px);
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.svg-box text {
font-family: 'Inter', sans-serif;
fill: var(--dark-color);
}
.svg-box text:nth-child(2) {
font-size: 14px;
font-weight: 700;
}
.svg-box text:nth-child(3) {
font-size: 10px;
font-weight: 500;
fill: #6c757d;
}
[data-theme="dark"] .svg-box text:nth-child(3) {
fill: #ffffff;
}
.svg-box text:nth-child(4) {
font-size: 12px;
font-weight: 600;
fill: var(--primary-color);
}
.material-icon {
font-family: 'Material Icons';
font-size: 18px;
color: var(--icon-color);
}
/* Mobile Responsive */
@media (max-width: 992px) {
.sidebar {
width: 0;
}
.sidebar:hover, .sidebar.expanded {
width: 220px;
}
.main-content {
margin-left: 0;
}
.sidebar:hover ~ .main-content, .sidebar.expanded ~ .main-content {
margin-left: 0;
}
footer {
left: 0;
width: 100%;
}
.sidebar:hover ~ footer, .sidebar.expanded ~ footer {
left: 0;
width: 100%;
}
}
@media (max-width: 768px) {
body {
padding-top: 50px;
}
.navbar {
min-height: 50px;
padding: 0.5rem 1rem;
}
footer {
display: none !important;
}
.sidebar {
top: 50px;
width: 0;
height: calc(100vh - 50px); /* Adjusted to avoid navbar overlap */
overflow: hidden;
scrollbar-width: none; /* Firefox */
z-index: 999; /* Below navbar */
clip-path: inset(0 0 0 0); /* Prevent overflow above navbar */
}
.sidebar::-webkit-scrollbar {
display: none; /* Chrome, Safari */
}
.sidebar.expanded {
width: 220px;
z-index: 999; /* Below navbar */
top: 50px; /* Ensure below navbar */
}
.sidebar-toggle {
display: flex;
}
.navbar .container-fluid {
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
min-height: 50px;
}
.navbar-brand {
flex: 1;
font-size: 1.2rem;
margin: 0 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.theme-toggle {
margin-left: 5px;
}
.main-content {
padding-bottom: 70px; /* Adjusted for footer gap */
}
.card {
max-height: calc(100vh - 120px); /* Adjusted for increased padding-bottom */
margin-bottom: 50px; /* Increased for gap above footer */
}
.card-body {
flex-direction: column;
}
.card-main {
max-height: calc(100vh - 170px); /* Navbar (50px) + card-header (~50px) + card-body padding (50px) + margin-bottom (25px) */
}
.search-container {
flex-direction: column;
align-items: stretch;
}
.search-container input {
max-width: 100%;
}
#infoMessage {
max-width: 100%; /* Full width in mobile */
}
.table-container {
max-height: calc(100vh - 345px); /* Adjusted for footer gap */
}
.state-table {
table-layout: auto; /* Allow columns to adjust naturally on mobile */
}
.state-table th,
.state-table td {
min-width: 0; /* Remove minimum width to prevent overlap */
white-space: normal; /* Allow text wrapping on mobile */
padding: 5px; /* Reduce padding for mobile */
}
footer {
font-size: 0.75rem; /* Slightly smaller for mobile */
padding: 8px; /* Reduced padding for mobile */
}
}
</style>
</head>
<body>
<!-- Fixed Navbar -->
<nav class="navbar navbar-dark">
<div class="container-fluid">
<button class="sidebar-toggle" id="sidebarToggle">
<i class="bi bi-list"></i>
</button>
<a class="navbar-brand" href="https://securebugs.github.io/StaffingTools/Tools">Staffing Tools</a>
<button class="theme-toggle" id="themeToggle">
<i class="bi bi-moon-stars-fill"></i>
</button>
</div>
</nav>
<!-- Sidebar -->
<div class="sidebar" id="sidebar">
<ul class="sidebar-menu">
<li>
<a href="https://securebugs.github.io/StaffingTools/Tools">
<i class="bi bi-house-door"></i>
<span class="menu-text">Home</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/state-info.html" class="active">
<i class="bi bi-geo-alt"></i>
<span class="menu-text">State Info</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/converters.html">
<i class="bi bi-arrow-left-right"></i>
<span class="menu-text">Converters</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/email-handling.html">
<i class="bi bi-envelope"></i>
<span class="menu-text">Email Handling</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/calendar-info.html">
<i class="bi bi-calendar-event"></i>
<span class="menu-text">Calendar Info</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/important-links.html">
<i class="bi bi-link-45deg"></i>
<span class="menu-text">Important Links</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/visa-details.html">
<i class="bi bi-file-text"></i>
<span class="menu-text">Visa Details</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/interview.html">
<i class="bi bi-person-check"></i>
<span class="menu-text">Interview</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/utilities.html">
<i class="bi bi-tools"></i>
<span class="menu-text">Utilities</span>
</a>
</li>
<li>
<a href="https://securebugs.github.io/StaffingTools/contact.html">
<i class="bi bi-telephone"></i>
<span class="menu-text">Contact Us</span>
</a>
</li>
</ul>
</div>
<!-- Main Content -->
<div class="main-content">
<div class="card">
<div class="card-header">
<span><i class="bi bi-geo-alt me-2"></i>State Info Dashboard</span>
<div>
<button class="font-size-btn" id="increaseFont"><i class="bi bi-plus"></i></button>
<button class="font-size-btn" id="decreaseFont"><i class="bi bi-dash"></i></button>
</div>
</div>
<div class="card-body">
<div class="card-container">
<div class="card-main state-card-body">
<div class="search-container text-center">
<input type="text" id="searchInput" class="form-control" placeholder="Search by state, capital, time zone, or phone...">
<button id="searchButton" class="btn btn-primary">Search</button>
</div>
<div id="infoMessage" class="alert alert-warning fade show" role="alert" style="display: none;">
<i id="messageIcon" class="fas"></i>
<span id="messageText"></span>
</div>
<div class="table-responsive">
<div class="table-container">
<table class="state-table table table-striped table-hover" id="statesTable">
<thead>
<tr>
<th>State</th>
<th>Short Name</th>
<th>Capital</th>
<th>Time Zone</th>
<th>Founded</th>
<th>Zip Range</th>
</tr>
</thead>
<tbody>
<!-- Rows will be populated by JavaScript -->
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<small style="font-size: 12px;">
Made with <span><a href="https://iili.io/2QpqFcB.jpg" target="_blank" style="color: red; text-decoration: none;"> ❤</a></span> by
<a href="https://www.linkedin.com/in/iamthakurofficial/" target="_blank" style="text-decoration: none; color: white;">Nandan Thakur </a>
</small> | <small style="font-size: 12px;"> <span><a href="https://securebugs.github.io/StaffingTools/utilities.html#documentation-popup" style="color: White; text-decoration: none;">Privacy Policy (T&C) </a></span>
</small>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Theme Toggle
const themeToggle = document.getElementById('themeToggle');
themeToggle.addEventListener('click', () => {
const currentTheme = document.documentElement.getAttribute('data-theme');
if (currentTheme === 'light') {
document.documentElement.setAttribute('data-theme', 'dark');
themeToggle.innerHTML = '<i class="bi bi-sun-fill"></i>';
} else {
document.documentElement.setAttribute('data-theme', 'light');
themeToggle.innerHTML = '<i class="bi bi-moon-stars-fill"></i>';
}
});
// Sidebar Toggle
const sidebarToggle = document.getElementById('sidebarToggle');
const sidebar = document.getElementById('sidebar');
sidebarToggle.addEventListener('click', () => {
sidebar.classList.toggle('expanded');
});
// Close sidebar when clicking outside
document.addEventListener('click', function(event) {
const sidebar = document.querySelector('#sidebar');
const sidebarToggle = document.querySelector('#sidebarToggle');
if (sidebar.classList.contains('expanded') &&
!sidebar.contains(event.target) &&
!sidebarToggle.contains(event.target)) {
sidebar.classList.remove('expanded');
}
});
// Font Size Control for Table
const table = document.querySelector('.state-table');
let fontSize = 12; // Initial minimum font size in px
table.style.fontSize = `${fontSize}px`;
document.getElementById('increaseFont').addEventListener('click', () => {
if (fontSize < 24) { // Max font size
fontSize += 2;
table.style.fontSize = `${fontSize}px`;
}
});
document.getElementById('decreaseFont').addEventListener('click', () => {
if (fontSize > 12) { // Min font size
fontSize -= 2;
table.style.fontSize = `${fontSize}px`;
}
});
</script>
<script>
// JSON data for USA states with additional fields
const statesData = [
{
name: "Alabama",
shortName: "AL",
capital: "Montgomery",
timezone: "CST",
founded: "December 14, 1819",
zipRange: "35004 to 36925",
phonePrefixes: ["205", "251", "256", "334", "659", "938"]
},
{
name: "Alaska",
shortName: "AK",
capital: "Juneau",
timezone: "AKST",
founded: "January 3, 1959",
zipRange: "99501 to 99950",
phonePrefixes: ["907"]
},
{
name: "Arizona",
shortName: "AZ",
capital: "Phoenix",
timezone: "MST",
founded: "February 14, 1912",
zipRange: "85001 to 86556",
phonePrefixes: ["480", "520", "602", "623", "928"]
},
{
name: "Arkansas",
shortName: "AR",
capital: "Little Rock",
timezone: "CST",
founded: "June 15, 1836",
zipRange: "71601 to 72959",
phonePrefixes: ["479", "501", "870"]
},
{
name: "California",
shortName: "CA",
capital: "Sacramento",
timezone: "PST",
founded: "September 9, 1850",
zipRange: "90001 to 96162",
phonePrefixes: ["209", "213", "279", "310", "323", "341", "408", "415", "424", "442", "510", "530", "559", "562", "619", "626", "628", "650", "657", "661", "669", "707", "714", "747", "760", "805", "818", "820", "831", "858", "909", "916", "925", "949", "951"]
},
{
name: "Colorado",
shortName: "CO",
capital: "Denver",
timezone: "MST",
founded: "August 1, 1876",
zipRange: "80001 to 81658",
phonePrefixes: ["303", "719", "720", "970"]
},
{
name: "Connecticut",
shortName: "CT",
capital: "Hartford",
timezone: "EST",
founded: "January 9, 1788",
zipRange: "06001 to 06928",
phonePrefixes: ["203", "475", "860", "959"]
},
{
name: "Delaware",
shortName: "DE",
capital: "Dover",
timezone: "EST",
founded: "December 7, 1787",
zipRange: "19901 to 19905",
phonePrefixes: ["302"]
},
{
name: "Florida",
shortName: "FL",
capital: "Tallahassee",
timezone: "EST",
founded: "March 3, 1845",
zipRange: "32004 to 34997",
phonePrefixes: ["239", "305", "321", "352", "386", "407", "561", "689", "727", "754", "772", "786", "813", "850", "863", "904", "941", "954"]
},
{
name: "Georgia",
shortName: "GA",
capital: "Atlanta",
timezone: "EST",
founded: "January 2, 1788",
zipRange: "30001 to 31999",
phonePrefixes: ["229", "404", "470", "478", "678", "706", "762", "770", "912"]
},
{
name: "Hawaii",
shortName: "HI",
capital: "Honolulu",
timezone: "HST",
founded: "August 21, 1959",
zipRange: "96701 to 96898",
phonePrefixes: ["808"]
},
{
name: "Idaho",
shortName: "ID",
capital: "Boise",
timezone: "MST",
founded: "July 3, 1890",
zipRange: "83701 to 83799",
phonePrefixes: ["208", "986"]
},
{
name: "Illinois",
shortName: "IL",
capital: "Springfield",
timezone: "CST",
founded: "December 3, 1818",
zipRange: "60001 to 62999",
phonePrefixes: ["217", "224", "309", "312", "331", "618", "630", "708", "773", "779", "815", "847", "872"]
},
{
name: "Indiana",
shortName: "IN",
capital: "Indianapolis",
timezone: "EST",
founded: "December 11, 1816",
zipRange: "46001 to 47997",
phonePrefixes: ["219", "260", "317", "463", "574", "765", "812", "930"]
},
{
name: "Iowa",
shortName: "IA",
capital: "Des Moines",
timezone: "CST",
founded: "December 28, 1846",
zipRange: "50001 to 52809",
phonePrefixes: ["319", "515", "563", "641", "712"]
},
{
name: "Kansas",
shortName: "KS",
capital: "Topeka",
timezone: "CST",
founded: "January 29, 1861",
zipRange: "66002 to 67954",
phonePrefixes: ["316", "620", "785", "913"]
},
{
name: "Kentucky",
shortName: "KY",
capital: "Frankfort",
timezone: "EST",
founded: "June 1, 1792",
zipRange: "40003 to 42788",
phonePrefixes: ["270", "364", "502", "606", "859"]
},
{
name: "Louisiana",
shortName: "LA",
capital: "Baton Rouge",
timezone: "CST",
founded: "April 30, 1812",
zipRange: "70112 to 71232",
phonePrefixes: ["225", "318", "337", "504", "985"]
},
{
name: "Maine",
shortName: "ME",
capital: "Augusta",
timezone: "EST",
founded: "March 15, 1820",
zipRange: "04101 to 04992",
phonePrefixes: ["207"]
},
{
name: "Maryland",
shortName: "MD",
capital: "Annapolis",
timezone: "EST",
founded: "April 28, 1788",
zipRange: "20331 to 21930",
phonePrefixes: ["227", "240", "301", "410", "443", "667"]
},
{