Intapp Interview Question

how to use push button for input in JS.