It can often be helpful to go step-by-step through your code on the parts that aren’t working.

For example, let’s take `3`

(the third iteration of the loop). `3`

does not satisfy the condition of the first `if`

statement, since `3 % 5`

is not equal to `0`

. Then, `3`

satisfies the condition of the next `if`

statement, since `3 % 3`

is equal to `0`

. `"Fizz"`

is printed.

Then, `3`

does not satisfy the condition of the next `if`

statement, since `3 % 5`

is not equal to `0`

. Since this `if`

statement is an `if-else`

statement, we execute the code inside the `else`

block since the boolean condition was `false`

. This means we print the number, `3`

.

It is not only the multiples of 3 that cause problems. There is also a different issue in that any number that is a multiple of both 3 and 5 will result in `"FizzBuzz"`

, `"Fizz"`

, `"Buzz"`

, and the number itself all being printed (try going step-by-step as I did above with the number 15, for example).

What changes could you make to your code to ensure only one string or number is printed for each iteration?

*I strongly recommend you study the basics first before continuing with this project, or to at least review the Conditionals and Control Flow lesson.*