Code examples
This is one of the exceedingly rare instances where a custom element makes a lot of sense.
Use a custom element
Semantic HTML
While there is a native range input, it is difficult to style reliably across browsers.
Related range slider input entries