> For the complete documentation index, see [llms.txt](https://learning.pavey.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learning.pavey.dev/javascript/activities/fizz-buzz.md).

# Fizz Buzz

Count from 1 to 50 and print the numbers out:

* If a number is a multiple of three, print ‘Fizz’.
* If it’s a multiple of 5, print ‘Buzz’.
* If it’s a multiple of 3 and 5, print ‘FizzBuzz’.

For everything else, print the number itself. Note: You may wish to use arithmetic operator remainder (%):
