The FizzBuzz App

How it works

Type any two numbers between 1 and 100 in the fields to the right, ensuring that the number you place in the second field is larger than the one you placed in the first. Once both fields are filled in with the numbers of your choice, click the yellow button.

The app will then display all digits between 1 and 100. The JavaScript code will instruct the app to replace all numbers divisible by your first number with the word "Fizz", and those divisible by your second number with the word "Buzz". Any numbers divisible by both of your numbers will be displayed as "FizzBuzz".

Enter Values

Results