File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,8 +383,10 @@ <h1>Build Stunning Websites & Apps<br>Without Writing Code</h1>
383383 drag-and-drop platform.</ p >
384384 < div style ="display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; ">
385385 < a href ="# " class ="cta-button "> Start Building Free</ a >
386- < a href ="# " class ="cta-button " id ="openVideo "
387- style ="background: transparent; border: 2px solid white; "> Watch Demo</ a >
386+ < button class ="cta-button " id ="openVideo "
387+ style ="background: transparent; border: 2px solid white; ">
388+ Watch Demo
389+ </ button >
388390 </ div >
389391 </ div >
390392 </ div >
@@ -489,7 +491,7 @@ <h4>Legal</h4>
489491 } ) ;
490492
491493 // 2. SMOOTH SCROLLING: Intercepts link clicks to scroll gracefully instead of jumping
492- document . querySelectorAll ( 'a[href^="#"]' ) . forEach ( anchor => {
494+ document . querySelectorAll ( 'a[href^="#"]:not(#openVideo) ' ) . forEach ( anchor => {
493495 anchor . addEventListener ( 'click' , function ( e ) {
494496 const href = this . getAttribute ( 'href' ) ;
495497
You can’t perform that action at this time.
0 commit comments