Exercices chapter 2

Hi, I’m trying to do the first exercise of the 2nd chapter and the answer of Ivan and many that I see don’t have a “br” in it, how is it possible? How yours “#” are not on the same row? And I tried to copy/paste some of the answer here just to test and half of them don’t work, people should check their answers.

Thanks

The “br” is needed when you use an editor to do the exercises (for example ATOM). “br” stands for break line.

In regards to the answers: I had the same problem. When I copied my working solution into the Reply form, the system changed the code (for example if I would write the correct “br” (with the smaller sign at the beginning and the larger sign after the br, it would not appear in this answer. It would create a line break.

Hello have the issue with 2nd ex of chapter 2 trying to solve the problem with while and switch inside of is it ok and should working and i have a problem with syntax or it’s bad concept of solving this issue and this operators couldn’t work together
while (Number<100){
switch (Number) {
case Number % 3 == 0:
console.log(“FizzBuzz”)
Number++;
default:
console.log(Number);Number++;
break;}}