The Code
The code is structured into three functions.
getValues()
This function is ther over arching function which contains all of the code. We start by getting the input values and parsing them into integers. This beginning part of the code also checks to ensure that the values are in fact numbers, giving the user an error if they accidentally entered something other than a numerical value.
generateNumbers()
This function generates what numbers fall under the corresponding fizz, buzz or fizzbuzz values. It also ensures that the code will stop at the given stop value.
displayNumbers()
This last function determines how the values we've calculated will appear on the table. It checks each of the above values to see if they are Fizz, Buzz or FizzBuzz so that it can assign each of them a corresponding class name. This is so that they will appear differently than other values on the table.