![cover-img](https://project-assets.showwcase.com/1420x/8108/1634650524021-fizzbuzz.png?type=webp)
How I solved FizzBuzz in JavaScript
19 October, 2021
9
9
0
Contributors
What is fizzbuzz?
Instructions
The trick is to firstly check if the number is a multiple of 3 AND 5, if so return 'fizzbuzz'. Else check if number is a multiple of 3, if so return 'fizz'. Finally check if the number is a multiple of 5, if so return 'buzz'. If none of these match return the number
javascript
learning
algorithms