Update text after press button

Hello, i need to update a text when i press a button on the page, can someone help me please thanks

Use a custom state (or database search depending on what you’re trying to do) with a conditional

Thanks ! <3