Show hide section in WordPress Elementor on a button/text click

  elementor, javascript, jquery, wordpress

I am trying to create a jQuery that will allow me to show/hide sections by class on the website when I click on a selected button.

I have tried

created the text/button with css class websites and a section with a css class web, then :


But this is not working for me , any help would be appreciated. Thanks

Source: Ask Javascript Questions