A simple hack of sprinkling coffee grounds in your garden can be a way to deter slugs from entering and eating at your plants.