need to make sure a user can only input a 3 digit number into the program and outputs an error using console.log