# FizzBuzz by [kirupa](https://www.kirupa.com/about/whatiskirupa.htm) | filed under [Coding Exercises](https://www.kirupa.com/codingexercises/index.htm) Some coding exercises are so popular and legendary, they are the primary topic of watercoolers, sports bars, and family dinners. One such exercise is FizzBuzz. The rules of FizzBuzz are as follows: 1. We want to print each number from 1 to 100 1. For any number that is a multiple of 3, we print the word **Fizz** instead of the number 1. For any number that is a multiple of 5, we print the word **Buzz** instead 1. For any number that is a multiple of both 3 and 5, we print the word **FizzBuzz** An example of output here could be: **1 **** 2 ** The exercise is to turn these rules into some sweet SWEET JavaScript code that prints the proper output to the Console for numbers starting at 1 and going all the way to 100. Onwards! #### Hint: Some Learning Resources and Getting Help The following tutorials may provide some helpful tips and techniques to help you with this exercise: [Console Logging Basics](https://www.kirupa.com/html5/console.htm), [If/Else Statements](https://www.kirupa.com/html5/conditional_statements_if_else_switch_javascript.htm),[Looping in JavaScript](https://www.kirupa.com/html5/loops_in_javascript.htm), [Numbers](https://www.kirupa.com/html5/numbers_in_javascript.htm) We want to make this a fun learning activity. If you are stuck and need help, please [ask on the forums](https://forum.kirupa.com). Please explain your problem in detail and one of the many helpful forum members will help you out. ## Getting Your Badge Once you have completed this exercise, you have earned the awesome bragworthy privilege of adding the following badge to [your collection](https://forum.kirupa.com/badges/): ![](https://www.kirupa.com/codingexercises/images/fizzbuzz_badge.png) To claim it, head over to the forums and respond in the [FizzBuzz topic](https://forum.kirupa.com/t/fizzbuzz-frontend-coding-exercise/653699). **Be sure to include a link to your solution or insert a copy of your HTML/CSS/JS in the body of the message. **Once you have created your topic, Kirupa will give you a virtual high-five and ensure this badge is added to your list of assigned badges. ## One Possible Solution If you want to see ***one*** way of solving this, check out Kirupa's video below: There are many solutions possible, so don't worry if your working solution looks different. If it is different, do share it on the forums and the community as a whole will benefit from your creative solution!