How to use Range Element in a simple voting tool