THE CODE FOR: FIZZBUZZ
The code is structured in three functions.
getValues
"Gets" values entered by the user; limited to integers.
fizzBuzzA
Establishes and sets the parameters of our array and passes them to our display.
displayValues
"Displays" the items on the page - every multiple of the first number as a red "Fizz", multiples of the second number as a purple "Buzz" and multiples of both numbers as a blue "FizzBuzz"