This is basically the same question I already answered for you here…
In general, to create “action” on a website (meaning when things are clicked, tapped, swiped, etc… they cause other things to happen,) you use Javascript.
Here’s a basic example of using a button and Javascript to show or hide a div.
That said, there’s really no need to create things from scratch when you can just use existing Bootstrap components to do what you want. Bootstrap Studio already has three different pre-made components that can be shown or hidden with a button click - the Modal, the Toast and the Offcanvas. You can style any of these components with CSS to look like the div you created, and then show or hide them with a button or link using the Target options in the Options panel.
