Sliders instead of dropdowns

How can I create a slider for respondents to use to indicate optimum time instead of a drop down?

Adding sliders is not currently included in a simple point and click interface.

But it can be added is a custom piece of Javascript within a text element (in code view).
See this simple implementation.
https://www.w3schools.com/howto/howto_js_rangeslider.asp