FizzBuzz: A Coding Project
This program loops through 1 to 100, displays "Fizz" if the number is divisible by 3, "Buzz" if divisible by 5, "FizzBuzz" if divisible by both 3 and 5, or simply the number if none of these conditions are met.
The results are placed in a table and injected into the DOM, specifically the "Results" section. "Fizz" entries are assigned green color text, "Buzz" entries are assigned blue, and "FizzBuzz" entries are assigned red.
Instructions
Please enter two values: one assigned to "Fizz", and one assigned to "Buzz". Click the "Start Program" button when ready.