JS custom code adding trouble

Hello!
How can I get an access in JavaScrypt to HTML objects? F.example I have my JS code for countdown timer which will start when user opens the page but my JS custom code isn’t working. because I don’t have an access to the HTML objects

You need to set the output of your JavaScript function to a variable, then bind that variable to an UI component.

To have custom components that manage their own state via JavaScript/HTML, the upcoming feature you need is https://tracker.appgyver.com/feature-requests/p/custom-react-native-react-web-plugins

I already tried with it -> you need to set the output of your JavaScript function to a variable, then bind that variable to an UI component.