How to make a box hide/show, using one other box as the trigger for hide/show when it is clicked.

In image, the top box with the question is clicked to make the beneath box with information show/hide.

Hi Lewis,

Setup on onClick event for the title text where you want them to click.

export function HeaderText_click(event) {
if ( $w( ‘#ParagraphText’ ).hidden )
{
$w( ‘#ParagraphText’ ).show( ‘fade’ );
}
else
{
$w( ‘#ParagraphText’ ).hide( ‘fade’ );
}
}

Check out the API here, where it shows different effects you can use.
https://www.wix.com/velo/reference/$w/hiddenmixin/hide

@derekmoorer Thanks Iam also looking for this.