Fizz Buzz

Fizz buzz (often spelled FizzBuzz in this context) has been used as an interview screening device for computer programmers. Writing a program to output the first 100 FizzBuzz numbers is a trivial problem for any would-be computer programmer, so interviewers can easily filter out those with insufficient programming ability.

Challenge Description

  • Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.


The Fizzbuzz coding challenge was invented in 2007 by Imran Ghoryin in order to assess developer competence. Since its conception the Fizzbuzz challenge has been used by Facebook and Microsoft as interview tools and has also been taught at Stanford, Berkley, Caltech and countless other universities.

Technologies Used for Fizz Buzz

HTML, JavaScript, jQuery, CSS, Bootstrap

Extra Credit

Modify the program to allow a user to enter two integers (instead of hard coding 3 and 5) and print the appropriate result based on multiples of their input.