Important update. Deleted the input checker since HTML validates the input by only accepting number input higher than 0, anything else is ignored. JavaScript now refined to do functionality.