I figured it out. Maybe not the best way but it seems easy to me.
My two buttons are product review and faq.
I added this code to the
Then for each of my tabs I created IDs under Settings for each. I named them product-reviews-tab and questions-tab.
I then linked each button to each the IDs section. This makes the button when clicked scroll the page to the tab. It doesn’t seem to add the click though.
So I added to each button a custom attribute. I set Name to onclick and Value to product() for the product review button. And I set Name to onclick and Value to faq() for the faq button.
I had to export my full site and test it on my web host to see it work. Hope this helps someone. If you know an easier way please do share.