Update the range input code sample

Added min and max parameters and removed the unneeded label.