Bug with buttons

Might be good to report this if you think it’s a bug to the team but this looks like a lot of code and could be that there is code to display the buttons and then text and also to show the code.

I’m a total newbie at coding but was able to use this to make an collapse/show.

export function openButton_click ( event ) {
$w ( ‘#answer1Text’ ). expand ();
$w ( ‘#closeButton’ ). show ();
}
export function closeButton_click ( event ) {
$w ( ‘#answer1Text’ ). collapse ();
$w ( ‘#closeButton’ ). hide ();
}