Jun 5, 2021
Hi,
1. Use any element, not necessarily a navigation bar. It can be placed anywhere under the Slider Div wrapper declared in 2nd part, so Alpine.js knows about its existence.
2. Any element is fine since Alpine.js is handling the click event. The link block is a good candidate since it changes the mouse cursor on hover.
See the demo site for more info:
https://webflow.com/website/alpinejs-demo
and refer to read-only preview link regarding the hierarchy:
https://preview.webflow.com/preview/alpinejs?preview=fa7b8979fc6916cfc44f3d7313816007