I am currently working with radio buttons for ticket selection.
<div>
<input type="radio" name="ticket" value="Standard"> Standard
<input type="radio" name="ticket" value="Express"> Express
<input type="radio" name="ticket" value="Priority"> Priority
<input type="radio" name="ticket" value="Overnight"> Overnight
</div>
I am interested in converting the radio buttons into a slider using JavaScript, similar to this:
https://i.sstatic.net/HhRBJ.png
After researching online, I found a slider example on
However, it does not offer a way to set specific selection points (breakpoints).
Additionally, I came across
<input type="range" id="myRange" value="90">
but I'm unsure how to create a range with limited values instead of a complete slider.