File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed
Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -618,32 +618,7 @@ <h3 class="mb-4">Get started for free</h3>
618618
619619
620620
621- < script >
622-
623- // Mobile Menu Toggle
624- const mobileMenuButton = document . getElementById ( 'mobile-menu-button' ) ;
625- const mobileMenu = document . getElementById ( 'mobile-menu' ) ;
626-
627- if ( mobileMenuButton && mobileMenu ) {
628- mobileMenuButton . addEventListener ( 'click' , ( ) => {
629- const isExpanded = mobileMenuButton . getAttribute ( 'aria-expanded' ) === 'true' ;
630- mobileMenuButton . setAttribute ( 'aria-expanded' , ! isExpanded ) ;
631- mobileMenu . classList . toggle ( 'show' ) ;
632- } ) ;
633- }
634-
635- // Mobile menu only
636- const mobileMenuButton = document . getElementById ( 'mobile-menu-button' ) ;
637- const mobileMenu = document . getElementById ( 'mobile-menu' ) ;
638-
639- if ( mobileMenuButton && mobileMenu ) {
640- mobileMenuButton . addEventListener ( 'click' , ( ) => {
641- const isExpanded = mobileMenuButton . getAttribute ( 'aria-expanded' ) === 'true' ;
642- mobileMenuButton . setAttribute ( 'aria-expanded' , ! isExpanded ) ;
643- mobileMenu . classList . toggle ( 'show' ) ;
644- } ) ;
645- }
646- </ script >
621+ < script src ="script.js "> </ script >
647622</ body >
648623
649624</ html >
You can’t perform that action at this time.
0 commit comments