Custom Input using HTML buttons

I want to use the Custom Input function to call an HTML file that presents a small page with 3 buttons. When a user clicks a button, I want that to initiate a given sequence (e.g. ‘1’, ‘2’, or ‘3’). How do I get the button to initiate a response from UiP that triggers the related sequence? Do I need JavaScript? What would that look like?

Thanks!!!

Example HTML:
<-html>
<-body>
<-center>
<-button>Sequence 1<-/button>
<-button>Sequence 2<-/button>
<-button>Sequence 3<-/button>
<-/center>
<-/body>
<-/html>

(-'s added to show code)

Hi @T0r3nd,

Yes you would need JavaScript to perform actions based on the input data entered by the user.
There is an example which you could refer: