How to make a button disappear after clicking it?

Hi,

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: http://speakizi-45f028c82ae9359cf1928e9264b0bf.webflow.io/

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.

Regards,
Anna