Update the range input code sample

Added min and max parameters and removed the unneeded label.
Merge pull request #270 from ramunasm/patch-3

Updated the range input code sample