# is there a slider interface?

**URL:** <https://support.prodi.gy/t/is-there-a-slider-interface/3987>\
**Category:** Uncategorized\
**Tags:** front-end, custom\
**Created:** [March 8, 2021, 5:19am UTC](https://support.prodi.gy/t/is-there-a-slider-interface/3987 "2021-03-08T05:19:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [March 8, 2021, 1:57pm UTC](https://support.prodi.gy/t/is-there-a-slider-interface/3987/2 "2021-03-08T13:57:58Z")

</div>

Hi! There's not currently a slider interface, no. If you want to use values on a scale, you could set them up as `choice` options. This also gives you keyboard shortcuts out-of-the-box, so you can just press 1 for `1`, and so on.

Alternatively, you can also easily add your own slider with the `html` interface and a JavaScript function that adds the selected value to the current task. Here's an example:

```html
<input type="range" id="slider" min="1" max="5" onChange="handleChange(this)" />

```

```javascript
function handleChange(slider) {
    window.prodigy.update({ value: slider.value }) // will add key "value"
}

```

---

_[View the full topic](https://support.prodi.gy/t/is-there-a-slider-interface/3987)._
