Streaming live at 10am (PST)

How to make a button disappear after clicking it?


I’m trying to have a “View more” button which shows more content when clicked. I managed to have the additional content show up after I click, but I want the button to disappear after clicking it.

Here’s an example I’ve created:

I’m assuming this is a simple JS snippet, any help would be greatly appreciated :slight_smile:

Hi @dmagriso.

You don’t need a code snippet for that. Just use interaction with click trigger, which you probably create for open the content. For example:

You can add one more trigger (step) in the same interaction, which will make that button display: none.